mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
ctdb:banning: Improve debug message in ctdb_ban_node_event()
Make it more clear what happens when reading the logs. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
57cb011a0a
commit
4b5eaf9a4e
@ -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 all databases "
|
||||
"frozen yet - banning this node again.\n"));
|
||||
ctdb_ban_self(ctdb);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user