ctdb:banning: improve debug message in ctdb_ban_node_event()
authorMichael Adam <obnox@samba.org>
Tue, 31 May 2016 23:16:23 +0000 (01:16 +0200)
committerMichael 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

index 5b08b47ac8dde7a311c66e104dc5fb158f059d4f..b4ea549560cf52c9444f2a6b1ef324f786c1c452 100644 (file)
@@ -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;
        }