summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorAnand Avati <avati@redhat.com>2013-11-26 19:38:01 -0800
committerAnand Avati <avati@redhat.com>2013-12-03 11:35:32 -0800
commit13a4830e9c913c9a24c6b69cd300b80302a49b65 (patch)
tree82d03060fb54d393704804d901321ef2b0c649b0 /xlators
parent8ed37473b124c97363b3f7eaf9824070559b4ec2 (diff)
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 <avati@redhat.com> Reviewed-on: http://review.gluster.org/6398 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/protocol/client/src/client-handshake.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/protocol/client/src/client-handshake.c b/xlators/protocol/client/src/client-handshake.c
index 5668fea5329..b2aa664227d 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: