git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61b1fde
)
ctdb-recoverd: Log a message when releasing the recovery lock
author
Martin Schwenke
<martin@meltin.net>
Fri, 20 Jun 2014 00:51:16 +0000
(10:51 +1000)
committer
Amitay Isaacs
<amitay@samba.org>
Mon, 7 Jul 2014 08:59:56 +0000
(10:59 +0200)
It is a non-trivial event and will make it easier to debug recovery
lock issues.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_recoverd.c
patch
|
blob
|
history
diff --git
a/ctdb/server/ctdb_recoverd.c
b/ctdb/server/ctdb_recoverd.c
index cfba29dea749362eca14d2e718b05240c31be2fc..1ef8e095e439c29639573841c1200751d3deb057 100644
(file)
--- a/
ctdb/server/ctdb_recoverd.c
+++ b/
ctdb/server/ctdb_recoverd.c
@@
-2716,6
+2716,7
@@
static void election_handler(struct ctdb_context *ctdb, uint64_t srvid,
/* release the recmaster lock */
if (em->pnn != ctdb->pnn &&
ctdb->recovery_lock_fd != -1) {
+ DEBUG(DEBUG_NOTICE, ("Release the recovery lock\n"));
close(ctdb->recovery_lock_fd);
ctdb->recovery_lock_fd = -1;
unban_all_nodes(ctdb);