summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/mgmt/glusterd/src/glusterd3_1-mops.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd3_1-mops.c b/xlators/mgmt/glusterd/src/glusterd3_1-mops.c
index e4525b93081..9d9dc385a1c 100644
--- a/xlators/mgmt/glusterd/src/glusterd3_1-mops.c
+++ b/xlators/mgmt/glusterd/src/glusterd3_1-mops.c
@@ -270,7 +270,8 @@ inject:
ret = glusterd_friend_find (rsp.uuid, rsp.hostname, &peerinfo);
if (ret) {
- GF_ASSERT (0);
+ //can happen as part of rpc clnt connection cleanup
+ //when the frame timeout happens after 30 minutes
goto respond;
}
@@ -292,8 +293,6 @@ inject:
glusterd_friend_sm ();
glusterd_op_sm ();
- if (ctx)
- glusterd_destroy_probe_ctx (ctx);
op_ret = 0;
@@ -306,6 +305,9 @@ respond:
glusterd_op_sm ();
}
+ if (ctx)
+ glusterd_destroy_probe_ctx (ctx);
+
return ret;
}