git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f6a09e
)
ctdb:banning: improve debug message in ctdb_ban_node_event()
author
Michael Adam
<obnox@samba.org>
Tue, 31 May 2016 23:16:23 +0000
(
01:16
+0200)
committer
Michael Adam
<obnox@samba.org>
Tue, 31 May 2016 23:16:23 +0000
(
01:16
+0200)
Make it more clear what happens when reading the logs.
Signed-off-by: Michael Adam <obnox@samba.org>
ctdb/server/ctdb_banning.c
patch
|
blob
|
history
diff --git
a/ctdb/server/ctdb_banning.c
b/ctdb/server/ctdb_banning.c
index 5b08b47ac8dde7a311c66e104dc5fb158f059d4f..b4ea549560cf52c9444f2a6b1ef324f786c1c452 100644
(file)
--- a/
ctdb/server/ctdb_banning.c
+++ b/
ctdb/server/ctdb_banning.c
@@
-42,7
+42,8
@@
static void ctdb_ban_node_event(struct tevent_context *ev,
/* Make sure we were able to freeze databases during banning */
if (!ctdb_db_all_frozen(ctdb)) {
- DEBUG(DEBUG_ERR, ("Banning timed out, but still unable to freeze databases\n"));
+ DEBUG(DEBUG_ERR, ("Banning timed out, but not databases are "
+ "frozen yet - banning ourselves again.\n"));
ctdb_ban_self(ctdb);
return;
}