[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 13:09:02 UTC 2015


--- Comment #6 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11254 committed in release-3.7 by Pranith
Kumar Karampuri (pkarampu at redhat.com) 
commit b319d712e97e1074cc6030220d00970d1262458b
Author: Anuradha <atalur at redhat.com>
Date:   Thu Jun 11 14:58:05 2015 +0530

    cluster/afr : set pending xattrs for replaced brick

           Backport of: http://review.gluster.org/10448/
                      & http://review.gluster.org/11416

    This patch is part two 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 might happen from the replaced (sink) brick
    rather than the source brick leading to data loss.

    Solution: Mark pending changelogs on afr children for
    the replaced afr-child so that heal is performed in the
    correct direction.

    Credits to Ravishankar N for patch 11416.

    Change-Id: Icb9807e49b4c1c4f1dcab115318d9a58ccf95675
    BUG: 1232173
    Reviewed-on: http://review.gluster.org/10448
    Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Krutika Dhananjay <kdhananj at redhat.com>
    Signed-off-by: Anuradha Talur <atalur at redhat.com>
    Reviewed-on: http://review.gluster.org/11254
    Tested-by: Gluster Build System <jenkins at build.gluster.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=Vdukp7agtN&a=cc_unsubscribe

More information about the Bugs mailing list