[Bugs] [Bug 1436231] Undo pending xattrs only on the up bricks

bugzilla at redhat.com bugzilla at redhat.com
Fri Apr 7 11:56:58 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1436231



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/16956 committed in release-3.8 by Niels de
Vos (ndevos at redhat.com) 
------
commit 50ac9c87020d0e9712491c04afbb208a01c6ecbd
Author: karthik-us <ksubrahm at redhat.com>
Date:   Sat Mar 18 13:44:56 2017 +0530

    cluster/afr: Undo pending xattrs only on the up bricks

    Problem:
    While doing conservative merge, even if a brick is down, it will reset
    the pending xattr on that. When that brick comes up, as part of the
    heal, it will consider this brick as the source and removes the entries
    on the other bricks, which leads to data loss.

    Fix:
    Undo pending only for the bricks which are up.

    > Change-Id: I18436fa0bb1faa5f60531b357dea3f6b20446303
    > BUG: 1433571
    > Signed-off-by: karthik-us <ksubrahm at redhat.com>
    > Reviewed-on: https://review.gluster.org/16913
    > Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
    > Smoke: Gluster Build System <jenkins at build.gluster.org>
    > NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    > CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    > Reviewed-by: Ravishankar N <ravishankar at redhat.com>
    (cherry picked from commit f91596e6566c605e70a31a60523d11f78a097c3c)

    Change-Id: Id20c9ce53ee59f005d977494903247e2a8024ed1
    BUG: 1436231
    Signed-off-by: karthik-us <ksubrahm at redhat.com>
    Reviewed-on: https://review.gluster.org/16956
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    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=5d9AOSTIFz&a=cc_unsubscribe


More information about the Bugs mailing list