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-15 12:21:15 +0530
committerVijay Bellur <vijay@gluster.com>2012-06-19 10:36:52 -0700
commite2f1d73017894f893889b78135331355eb86836e (patch)
tree530bde25e002480fdafd3ee0de19e3d5fbb591fc /xlators/cluster/afr/src/afr-self-heal-common.c
parent27bc10d67b9502c03668ca851e8330485cb5e2b5 (diff)
cluster/afr: split-brain should be reset on data-self-heal
If the govinda flag is set in the beginning then missing_entries_done will fail the self-heal before it can come to data_self_heal. Change-Id: I4d5b6a7c3bb26bae78979ee59c7c0997fd3fd84b BUG: 832305 Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Reviewed-on: http://review.gluster.com/3583 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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-common.c b/xlators/cluster/afr/src/afr-self-heal-common.c
index 6d23494987a..9e493092e2a 100644
--- a/xlators/cluster/afr/src/afr-self-heal-common.c
+++ b/xlators/cluster/afr/src/afr-self-heal-common.c
@@ -2219,8 +2219,6 @@ afr_self_heal (call_frame_t *frame, xlator_t *this, inode_t *inode)
sh = &sh_local->self_heal;
sh->inode = inode_ref (inode);
- sh_local->govinda_gOvinda = afr_is_split_brain (this, sh->inode);
-
sh->orig_frame = frame;
sh->completion_cbk = afr_self_heal_completion_cbk;