[sheepdog] [PATCH] cluster/zookeeper: add log information for zk auto-recoonect

Liu Yuan namei.unix at gmail.com
Fri Aug 8 08:50:07 CEST 2014


Reported-by: Valerio Pachera <sirio81 at gmail.com>
Signed-off-by: Liu Yuan <namei.unix at gmail.com>
---
 sheep/group.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sheep/group.c b/sheep/group.c
index 06a80bd..08e3884 100644
--- a/sheep/group.c
+++ b/sheep/group.c
@@ -979,7 +979,7 @@ static int send_join_request(void)
 {
 	struct sd_node *n = &sys->this_node;
 
-	sd_info("%s", node_to_str(n));
+	sd_info("%s going to rejoin the cluster", node_to_str(n));
 	return sys->cdrv->join(n, &sys->cinfo, sizeof(sys->cinfo));
 }
 
-- 
1.9.1




More information about the sheepdog mailing list