From 5c6fb46c64f2c8e51da2090dd554abfdbfd2b53e Mon Sep 17 00:00:00 2001 From: Kaushal M Date: Wed, 13 Jul 2011 04:11:53 +0000 Subject: Changed error message displayed and logged, on rebalance failure Signed-off-by: Kaushal M Signed-off-by: Anand Avati BUG: 3106 (Rebalance start failure message is not appropriate) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3106 --- xlators/mgmt/glusterd/src/glusterd-rebalance.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xlators/mgmt') diff --git a/xlators/mgmt/glusterd/src/glusterd-rebalance.c b/xlators/mgmt/glusterd/src/glusterd-rebalance.c index 7f4a53a17..9e81ff0cd 100644 --- a/xlators/mgmt/glusterd/src/glusterd-rebalance.c +++ b/xlators/mgmt/glusterd/src/glusterd-rebalance.c @@ -605,9 +605,9 @@ glusterd_defrag_start_validate (glusterd_volinfo_t *volinfo, char *op_errstr, if (glusterd_is_rb_started (volinfo) || glusterd_is_rb_paused (volinfo)) { gf_log ("glusterd", GF_LOG_DEBUG, - "Replace brick is in progress on volume %s", + "Rebalance failed as replace brick is in progress on volume %s", volinfo->volname); - snprintf (op_errstr, len, "Replace brick is in progress on " + snprintf (op_errstr, len, "Rebalance failed as replace brick is in progress on " "volume %s", volinfo->volname); goto out; } -- cgit