Revert "rpc: disable client on disconnection from rebalance"
This reverts commit 5b14c11d3cae38bc66006b02217ede485ae30dea. BUG: 1484225 Change-Id: I3269d3fc64de3f3cc6f670ea564a87d7725e10fd Signed-off-by: Milind Changire <mchangir@redhat.com> Reviewed-on: https://review.gluster.org/18113 Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Atin Mukherjee <amukherj@redhat.com> Tested-by: Atin Mukherjee <amukherj@redhat.com> Reviewed-by: Raghavendra G <rgowdapp@redhat.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
This commit is contained in:
parent
a894d44427
commit
ea48cae5df
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user