From ed31918c2cf80d6c875e0b31eff4ab634d9375f2 Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Tue, 26 Nov 2013 19:38:01 -0800 Subject: protocol/client: handle network disconnect/reconnect properly if client/server state versions match, we still need to notify parent xlators of reconnection (CHILD_UP) because they were notified of CHILD_DOWN at the time of disconnection. Change-Id: I36c4bde6d8c3db9cb0c48eeb10663b56897c932e BUG: 1037267 Signed-off-by: Anand Avati Reviewed-on: http://review.gluster.org/6396 Tested-by: Gluster Build System Reviewed-by: Krishnan Parthasarathi --- xlators/protocol/client/src/client-handshake.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/protocol') diff --git a/xlators/protocol/client/src/client-handshake.c b/xlators/protocol/client/src/client-handshake.c index 5668fea53..b2aa66422 100644 --- a/xlators/protocol/client/src/client-handshake.c +++ b/xlators/protocol/client/src/client-handshake.c @@ -1475,6 +1475,7 @@ client_setvolume_cbk (struct rpc_req *req, struct iovec *iov, int count, void *m gf_log (this->name, GF_LOG_INFO, "Server and Client " "lk-version numbers are same, no need to " "reopen the fds"); + client_notify_parents_child_up (frame->this); } out: -- cgit