From d82f740d34f3a0b353408caf6509bef709f877a8 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Fri, 30 Sep 2011 10:51:54 +0530 Subject: glusterd rebalance: allow 'status' and 'stop' from all the peers * the check to see which command is issued to do the source node check had an error. Change-Id: I5cebe6e263c416d859af4f413d47c7b643815f6f BUG: 3655 Reviewed-on: http://review.gluster.com/537 Tested-by: Gluster Build System Reviewed-by: Shishir Gowda --- xlators/mgmt/glusterd/src/glusterd-rebalance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/mgmt/glusterd/src/glusterd-rebalance.c') diff --git a/xlators/mgmt/glusterd/src/glusterd-rebalance.c b/xlators/mgmt/glusterd/src/glusterd-rebalance.c index 7fe2b8cb2..208d0b3f3 100644 --- a/xlators/mgmt/glusterd/src/glusterd-rebalance.c +++ b/xlators/mgmt/glusterd/src/glusterd-rebalance.c @@ -880,7 +880,7 @@ glusterd_op_rebalance (dict_t *dict, char **op_errstr, dict_t *rsp_dict) goto out; } - if ((cmd != GF_DEFRAG_CMD_STATUS) || + if ((cmd != GF_DEFRAG_CMD_STATUS) && (cmd != GF_DEFRAG_CMD_STOP)) { ret = dict_get_ptr (dict, "node-uuid", &node_uuid); if (ret) { -- cgit