[PATCH] ctdb: adapt a debug message to changed behavior
Michael Adam
obnox at samba.org
Tue May 31 22:57:02 UTC 2016
Review appreciated!
Thanks - Michael
-------------- next part --------------
From 5f6a09e216a8b357ced4d6a87b97a7a42fef3837 Mon Sep 17 00:00:00 2001
From: Michael Adam <obnox at samba.org>
Date: Wed, 1 Jun 2016 00:53:54 +0200
Subject: [PATCH] ctdb:banning: improve a debug message.
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 at samba.org>
---
ctdb/server/ctdb_banning.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ctdb/server/ctdb_banning.c b/ctdb/server/ctdb_banning.c
index a4c56f5..5b08b47 100644
--- a/ctdb/server/ctdb_banning.c
+++ b/ctdb/server/ctdb_banning.c
@@ -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.
--
2.5.5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160601/f761289f/signature.sig>
More information about the samba-technical
mailing list