Skip to contentSkip to conversation

cluster/zookeeper: add log information for zk auto-recoonect

PATCH New Liu Yuan 1 participant 1 message Aug 8, 2014

lore
Share & tools
lore

Liu Yuan

author
#0 lore raw

PATCH 1/1 cluster/zookeeper: add log information for zk auto-recoonect

---
 sheep/group.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sheep/group.c +1 -1
index 06a80bd..08e3884 100644
@@ -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));
 }
 
Signature · 1 line
1.9.1