[Bugs] [Bug 1229550] [AFR-V2] - Fix shd coredump from tests/bugs/glusterd/bug-948686.t

bugzilla at redhat.com bugzilla at redhat.com
Wed Jun 17 10:21:14 UTC 2015


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



--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11131 committed in release-3.7 by Pranith
Kumar Karampuri (pkarampu at redhat.com) 
------
commit db3a86b6d1a3a0c50450e2e30a6f7648f0fa94db
Author: Krutika Dhananjay <kdhananj at redhat.com>
Date:   Mon Jun 8 11:36:12 2015 +0530

    cluster/afr: Do not attempt entry self-heal if the last lookup on entry
failed on src

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

    Test bug-948686.t was causing shd to dump core due to gfid being NULL.
    This was due to the volume being stopped while index heal's in progress,
    causing afr_selfheal_unlocked_lookup_on() to fail sometimes on the src
brick
    with ENOTCONN. And when afr_selfheal_newentry_mark() copies the gfid off
the
    src iatt, it essentially copies null gfid. This was causing the assertion
    as part of xattrop in protocol/client to fail.

    Change-Id: I5e6e3f00bc1a98cad7fd55cc3a6459d60ec8b0fe
    BUG: 1229550
    Signed-off-by: Krutika Dhananjay <kdhananj at redhat.com>
    Reviewed-on: http://review.gluster.org/11131
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    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=8fzCHha5uJ&a=cc_unsubscribe


More information about the Bugs mailing list