[Bugs] [Bug 1145726] when both the brick are offline jus after self-heal is online, it leads to crashes

bugzilla at redhat.com bugzilla at redhat.com
Tue Sep 23 16:49:14 UTC 2014


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



--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/8824 committed in release-3.6 by Vijay Bellur
(vbellur at redhat.com) 
------
commit 1b27b8231e2d69c3bfd4710ab3f631cd3604e362
Author: Pranith Kumar K <pkarampu at redhat.com>
Date:   Tue Sep 23 12:43:02 2014 +0530

    cluster/afr: Don't start heal when lookup succeeds on < 2 children

            Backport of http://review.gluster.org/8698

    Problem:
    When self-heal code doesn't see at least 2 successes on looking up
children,
    then self-heal can't be done. What is happening now is if all the lookups
fail
    then the pending changelog is all zeros in xattrs so all the children are
    becoming sources and leading to crashes when the code paths further assume
that
    some data structures are populated properly

    Fix:
    Don't proceed with self-heals when < 2 children succeed lookups.

    BUG: 1145726
    Change-Id: I65465843f0e554c8ccdd8fa930ab42ac123ec023
    Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
    Reviewed-on: http://review.gluster.org/8824
    Reviewed-by: Krutika Dhananjay <kdhananj at redhat.com>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Vijay Bellur <vbellur 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=GsM3JSnn8s&a=cc_unsubscribe


More information about the Bugs mailing list