mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
dbwrap: Print wait times with full precision
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Christof Schmitt <cs@samba.org>
This commit is contained in:
parent
b0f5fa42ff
commit
064dd03223
@ -1168,15 +1168,15 @@ again:
|
||||
|
||||
DEBUG(0, ("db_ctdb_fetch_locked for %s key %s, chain %d "
|
||||
"needed %d attempts, %d milliseconds, "
|
||||
"chainlock: %d ms, CTDB %d ms\n",
|
||||
"chainlock: %f ms, CTDB %f ms\n",
|
||||
tdb_name(ctx->wtdb->tdb),
|
||||
hex_encode_talloc(talloc_tos(),
|
||||
(unsigned char *)key.dptr,
|
||||
key.dsize),
|
||||
chain,
|
||||
migrate_attempts, duration_msecs,
|
||||
(int) chainlock_time * 1000,
|
||||
(int) ctdb_time * 1000));
|
||||
chainlock_time * 1000.0,
|
||||
ctdb_time * 1000.0));
|
||||
}
|
||||
|
||||
GetTimeOfDay(&crec->lock_time);
|
||||
|
Loading…
x
Reference in New Issue
Block a user