recoverd: Clarify some misleading log messages
authorMartin Schwenke <martin@meltin.net>
Thu, 11 Oct 2012 04:59:00 +0000 (15:59 +1100)
committerMichael Adam <obnox@samba.org>
Mon, 26 Aug 2013 11:35:49 +0000 (13:35 +0200)
Signed-off-by: Martin Schwenke <martin@meltin.net>
(cherry picked from commit 14589bf7c16ba017fe00d4e8bea8cc501546c60f)

server/ctdb_recoverd.c

index dd2a31e5ad0c8a80910f01648ea8b8a084cbafd3..56e4e287064f8f57e46403db7fd7f944cfa02be2 100644 (file)
@@ -2991,12 +2991,12 @@ static void main_loop(struct ctdb_context *ctdb, struct ctdb_recoverd *rec,
 
                        ret = ctdb_ctrl_freeze_priority(ctdb, CONTROL_TIMEOUT(), CTDB_CURRENT_NODE, 1);
                        if (ret != 0) {
-                               DEBUG(DEBUG_ERR,(__location__ " Failed to freeze node due to node being STOPPED\n"));
+                               DEBUG(DEBUG_ERR,(__location__ " Failed to freeze node in STOPPED state\n"));
                                return;
                        }
                        ret = ctdb_ctrl_setrecmode(ctdb, CONTROL_TIMEOUT(), CTDB_CURRENT_NODE, CTDB_RECOVERY_ACTIVE);
                        if (ret != 0) {
-                               DEBUG(DEBUG_ERR,(__location__ " Failed to activate recovery mode due to node being stopped\n"));
+                               DEBUG(DEBUG_ERR,(__location__ " Failed to activate recovery mode in STOPPED state\n"));
 
                                return;
                        }