[Bugs] [Bug 1496321] [afr] split-brain observed on T files post hardlink and rename in x3 volume

bugzilla at redhat.com bugzilla at redhat.com
Mon Oct 2 12:34:27 UTC 2017


--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18402 committed in release-3.10 by
Shyamsundar Ranganathan (srangana at redhat.com) 
commit f5998f07dfd21d06a4119416ca79db50232b50d4
Author: Ravishankar N <ravishankar at redhat.com>
Date:   Wed Sep 27 10:32:36 2017 +0530

    afr: auto-resolve split-brains for zero-byte files

    Backport of https://review.gluster.org/#/c/18283/

    As described in BZ 1491670, renaming hardlinks can result in data/mdata
    split-brain of the DHT link-to files (T files) without any mismatch of
    data and metadata.

    As described in BZ 1486063, for a zero-byte file with only dirty bits
    set, arbiter brick will likely be chosen as the source brick.

    For zero byte files in split-brain, pick first brick as
    a) data source if file size is zero on all bricks.
    b) metadata source if metadata is the same on all bricks

    In arbiter case, if file size is zero on all bricks and there are no
    pending afr xattrs, pick 1st brick as data source.

    Change-Id: I0270a9a2f97c3b21087e280bb890159b43975e04
    BUG: 1496321
    Signed-off-by: Ravishankar N <ravishankar at redhat.com>
    Reported-by: Rahul Hinduja <rhinduja at redhat.com>
    Reported-by: Mabi <mabi at protonmail.ch>

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=iH3kxUclRA&a=cc_unsubscribe

More information about the Bugs mailing list