diff options
author | Amitay Isaacs <amitay@gmail.com> | 2013-05-24 18:07:39 +1000 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-05-24 14:22:16 +0200 |
commit | a002c6ec1264b4bd4e600db0c914a6729b371556 (patch) | |
tree | 86e1e5e10a49087a2d42a0d7ae3f1eec6545dc20 | |
parent | d1dd29197e62e16f97d041d890a7ccfe65e60cd7 (diff) | |
download | samba-a002c6ec1264b4bd4e600db0c914a6729b371556.tar.gz samba-a002c6ec1264b4bd4e600db0c914a6729b371556.tar.xz samba-a002c6ec1264b4bd4e600db0c914a6729b371556.zip |
vacuum: Reduce the priority of non-critical error
Since the complete database is not locked when the receive_records
control is received, it's possible that we may not be able to obtain
lock on a chain. We will try again to store this record.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Michael Adam <obnox@samba.org>
(This used to be ctdb commit 32723c9efdad1c6ca4aa53f308ccd9bef1aadfff)
-rw-r--r-- | ctdb/server/ctdb_recover.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/server/ctdb_recover.c b/ctdb/server/ctdb_recover.c index 6506f8bbce..7a8b0bb101 100644 --- a/ctdb/server/ctdb_recover.c +++ b/ctdb/server/ctdb_recover.c @@ -1138,7 +1138,7 @@ static int store_tdb_record(struct ctdb_context *ctdb, /* use a non-blocking lock */ if (tdb_chainlock_nonblock(ctdb_db->ltdb->tdb, key) != 0) { - DEBUG(DEBUG_ERR, (__location__ " Failed to lock chain\n")); + DEBUG(DEBUG_INFO, (__location__ " Failed to lock chain in non-blocking mode\n")); return -1; } |