summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-self-heal-common.c
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2012-06-05 14:58:53 +0530
committerVijay Bellur <vijay@gluster.com>2012-06-06 03:39:31 -0700
commitc693d3b1414dba7066b44fa69c26c300f4906746 (patch)
treed114cd1200d730190b301ec0cab3c891b100a03f /xlators/cluster/afr/src/afr-self-heal-common.c
parent1bcc9412290629ec8e27915d1df090a01125c2c3 (diff)
cluster/afr: Don't reset split-brain when data-self-heal is off
Change-Id: Id73bdb84c3a1c0af6f0e2954514c3c07c65317bc BUG: 804606 Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Reviewed-on: http://review.gluster.com/3522 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-common.c')
-rw-r--r--xlators/cluster/afr/src/afr-self-heal-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-common.c b/xlators/cluster/afr/src/afr-self-heal-common.c
index 06899265074..3987325b895 100644
--- a/xlators/cluster/afr/src/afr-self-heal-common.c
+++ b/xlators/cluster/afr/src/afr-self-heal-common.c
@@ -2254,6 +2254,7 @@ afr_self_heal (call_frame_t *frame, xlator_t *this, inode_t *inode)
sh->orig_frame = frame;
sh->inode = inode_ref (inode);
+ sh_local->govinda_gOvinda = afr_is_split_brain (this, sh->inode);
sh->completion_cbk = afr_self_heal_completion_cbk;