ctdb:banning: improve a debug message.
authorMichael Adam <obnox@samba.org>
Tue, 31 May 2016 22:53:54 +0000 (00:53 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 31 May 2016 22:55:19 +0000 (00:55 +0200)
This adapts the debug message in local_node_got_banned
to reflect what the function is currently doing.
This message was not adapted when the function was changed.

Signed-off-by: Michael Adam <obnox@samba.org>
ctdb/server/ctdb_banning.c

index a4c56f502a835739e15f646a2607fed4294c3dce..5b08b47ac8dde7a311c66e104dc5fb158f059d4f 100644 (file)
@@ -60,7 +60,8 @@ void ctdb_local_node_got_banned(struct ctdb_context *ctdb)
 {
        struct ctdb_db_context *ctdb_db;
 
-       DEBUG(DEBUG_NOTICE,("This node has been banned - forcing recovery\n"));
+       DEBUG(DEBUG_NOTICE, ("This node has been banned - releasing all public "
+                            "IPs and setting the generation to INVALID.\n"));
 
        /* Reset the generation id to 1 to make us ignore any
           REQ/REPLY CALL/DMASTER someone sends to us.