diff options
Diffstat (limited to 'xlators/mgmt')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd3_1-mops.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd3_1-mops.c b/xlators/mgmt/glusterd/src/glusterd3_1-mops.c index 99b5f7b4e..2d0b223a9 100644 --- a/xlators/mgmt/glusterd/src/glusterd3_1-mops.c +++ b/xlators/mgmt/glusterd/src/glusterd3_1-mops.c @@ -404,7 +404,8 @@ glusterd3_1_cluster_lock_cbk (struct rpc_req *req, struct iovec *iov, ret = glusterd_friend_find (rsp.uuid, NULL, &peerinfo); if (ret) { - GF_ASSERT (0); + gf_log ("", GF_LOG_CRITICAL, "Lock response received from " + "unknown peer: %s", str); } if (op_ret) { @@ -463,7 +464,8 @@ glusterd3_1_cluster_unlock_cbk (struct rpc_req *req, struct iovec *iov, ret = glusterd_friend_find (rsp.uuid, NULL, &peerinfo); if (ret) { - GF_ASSERT (0); + gf_log ("", GF_LOG_CRITICAL, "Unlock response received from " + "unknown peer %s", str); } if (op_ret) { @@ -523,7 +525,8 @@ glusterd3_1_stage_op_cbk (struct rpc_req *req, struct iovec *iov, ret = glusterd_friend_find (rsp.uuid, NULL, &peerinfo); if (ret) { - GF_ASSERT (0); + gf_log ("", GF_LOG_CRITICAL, "Stage response received from " + "unknown peer: %s", str); } if (op_ret) { @@ -667,7 +670,8 @@ glusterd3_1_commit_op_cbk (struct rpc_req *req, struct iovec *iov, ret = glusterd_friend_find (rsp.uuid, NULL, &peerinfo); if (ret) { - GF_ASSERT (0); + gf_log ("", GF_LOG_CRITICAL, "Commit response received from " + "unknown peer: %s", str); } if (op_ret) { |