summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2012-03-29 21:07:06 +0530
committerVijay Bellur <vijay@gluster.com>2012-03-29 10:01:43 -0700
commit80d0c49125c67fcc0aab48cce7ef895dabf1d006 (patch)
tree31915d7403c01ead327fbf979316f0ff2cf2930d /xlators
parent630e272a89fde08315b6159b83fcbbd6711a6046 (diff)
cluster/afr: Fix the split-brain log
Change-Id: Ia4937dee009af7c945ec590a827c982b0e6ad307 BUG: 787653 Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Reviewed-on: http://review.gluster.com/3039 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/cluster/afr/src/afr-self-heal-common.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-common.c b/xlators/cluster/afr/src/afr-self-heal-common.c
index 441d5d116..039758408 100644
--- a/xlators/cluster/afr/src/afr-self-heal-common.c
+++ b/xlators/cluster/afr/src/afr-self-heal-common.c
@@ -912,9 +912,10 @@ afr_sh_missing_entries_done (call_frame_t *frame, xlator_t *this)
afr_sh_reset (frame, this);
if (local->govinda_gOvinda || sh->op_failed) {
- gf_log (this->name, GF_LOG_INFO,
- "split brain found, aborting selfheal of %s",
- local->loc.path);
+ if (local->govinda_gOvinda)
+ gf_log (this->name, GF_LOG_INFO,
+ "split brain found, aborting selfheal of %s",
+ local->loc.path);
sh->op_failed = 1;
sh->completion_cbk (frame, this);
} else {