[sheepdog] [PATCH 4/6] sheep: add debug info to show the joining node

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Tue Feb 26 05:06:48 CET 2013


Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 sheep/group.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sheep/group.c b/sheep/group.c
index 1208028..49ba642 100644
--- a/sheep/group.c
+++ b/sheep/group.c
@@ -882,6 +882,8 @@ enum cluster_join_result sd_check_join_cb(const struct sd_node *joining,
 	char str[MAX_NODE_STR_LEN];
 	int ret;
 
+	sd_dprintf("check %s, %d", node_to_str(joining), sys->status);
+
 	if (jm->proto_ver != SD_SHEEP_PROTO_VER) {
 		sd_eprintf("invalid protocol version: %d", jm->proto_ver);
 		return CJ_RES_FAIL;
-- 
1.8.1.3.566.gaa39828




More information about the sheepdog mailing list