summaryrefslogtreecommitdiff
path: root/source3/lib/dbwrap
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-04-03 13:20:39 +0200
committerVolker Lendecke <vl@samba.org>2012-04-03 15:17:11 +0200
commit22a6497526812becab60f8e49ab13d9155986ae1 (patch)
tree5628fa08ebfeb24a73c12246bfc07c0ca3dbc1e0 /source3/lib/dbwrap
parentb66b5f9e3f7e59fd6e821bdacbc904f1cc4ffb29 (diff)
downloadsamba-22a6497526812becab60f8e49ab13d9155986ae1.tar.gz
samba-22a6497526812becab60f8e49ab13d9155986ae1.tar.bz2
samba-22a6497526812becab60f8e49ab13d9155986ae1.zip
s3: Enhance the dbwrap needed x attempts msg
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Apr 3 15:17:11 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/lib/dbwrap')
-rw-r--r--source3/lib/dbwrap/dbwrap_ctdb.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c
index 41d9f19a05..47d5dc6929 100644
--- a/source3/lib/dbwrap/dbwrap_ctdb.c
+++ b/source3/lib/dbwrap/dbwrap_ctdb.c
@@ -1120,7 +1120,11 @@ again:
}
if (migrate_attempts > 10) {
- DEBUG(0, ("db_ctdb_fetch_locked needed %d attempts\n",
+ DEBUG(0, ("db_ctdb_fetch_locked for %s key %s needed %d "
+ "attempts\n", tdb_name(ctx->wtdb->tdb),
+ hex_encode_talloc(talloc_tos(),
+ (unsigned char *)key.dptr,
+ key.dsize),
migrate_attempts));
}