From ea48cae5df118d9b901e7d79cd8726b6f38d65a0 Mon Sep 17 00:00:00 2001 From: Milind Changire Date: Thu, 24 Aug 2017 12:35:03 +0530 Subject: Revert "rpc: disable client on disconnection from rebalance" This reverts commit 5b14c11d3cae38bc66006b02217ede485ae30dea. BUG: 1484225 Change-Id: I3269d3fc64de3f3cc6f670ea564a87d7725e10fd Signed-off-by: Milind Changire Reviewed-on: https://review.gluster.org/18113 Smoke: Gluster Build System Reviewed-by: Atin Mukherjee Tested-by: Atin Mukherjee Reviewed-by: Raghavendra G CentOS-regression: Gluster Build System --- rpc/rpc-lib/src/rpc-clnt.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'rpc') diff --git a/rpc/rpc-lib/src/rpc-clnt.c b/rpc/rpc-lib/src/rpc-clnt.c index 71afa4bda66..e34d2ca47ac 100644 --- a/rpc/rpc-lib/src/rpc-clnt.c +++ b/rpc/rpc-lib/src/rpc-clnt.c @@ -478,10 +478,6 @@ rpc_clnt_reconnect_cleanup (rpc_clnt_connection_t *conn) { if (conn->reconnect) { - /* setting disabled = 1 helps to stop rearming of the - * reconnection timer and unref the rpc_clnt_t object - */ - clnt->disabled = 1; ret = gf_timer_call_cancel (clnt->ctx, conn->reconnect); if (!ret) { reconnect_unref = _gf_true; -- cgit