[Bugs] [Bug 1232173] Incomplete self-heal and split-brain on directories found when self-healing files/dirs on a replaced disk
bugzilla at redhat.com
bugzilla at redhat.com
Sat Jun 27 11:27:16 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1232173
--- Comment #5 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11253 committed in release-3.7 by Pranith
Kumar Karampuri (pkarampu at redhat.com)
------
commit e28ac41c5ffc7b87f09b5bf2fe7f43cd4d4a5af5
Author: Anuradha <atalur at redhat.com>
Date: Fri Jun 5 16:46:39 2015 +0530
glusterd/ afr : set afr pending xattrs on replace brick
Backport of: http://review.gluster.org/10076/
This patch is part one change to prevent data loss
in a replicate volume on doing a replace-brick commit
force operation.
Problem: After doing replace-brick commit force, there is a
chance that self heal happens from the replaced (sink) brick
rather than the source brick leading to data loss.
Solution: During the commit phase of replace brick, after old
brick is brought down, create a temporary mount and perform
setfattr operation (on virtual xattr) indicating AFR to mark
the replaced brick as sink.
As a part of this change replace-brick command is being changed
to use mgmt_v3 framework rather than op-state-machine framework.
Many thanks to Krishnan Parthasarathi for helping me out on this.
Change-Id: If0d51b5b3cef5b34d5672d46ea12eaa9d35fd894
BUG: 1232173
Signed-off-by: Anuradha Talur <atalur at redhat.com>
Reviewed-on: http://review.gluster.org/11253
Tested-by: NetBSD Build System <jenkins at build.gluster.org>
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Ravishankar N <ravishankar at redhat.com>
Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=t79jszRiVx&a=cc_unsubscribe
More information about the Bugs
mailing list