summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-rebalance.c
diff options
context:
space:
mode:
authorKaushal M <kaushal@gluster.com>2011-07-13 04:11:53 +0000
committerAnand Avati <avati@gluster.com>2011-07-13 03:39:55 -0700
commit5c6fb46c64f2c8e51da2090dd554abfdbfd2b53e (patch)
tree7be6c4ce6d2c3befa630f2d13cce4225066c512c /xlators/mgmt/glusterd/src/glusterd-rebalance.c
parentc4da48f0dc9858e70555bf92374cb9e6a6f088b9 (diff)
Changed error message displayed and logged, on rebalance failure
Signed-off-by: Kaushal M <kaushal@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 3106 (Rebalance start failure message is not appropriate) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3106
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-rebalance.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-rebalance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-rebalance.c b/xlators/mgmt/glusterd/src/glusterd-rebalance.c
index 7f4a53a1702..9e81ff0cd5e 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;
}