[Bugs] [Bug 1255690] AFR: gluster v restart force or brick process restart doesn't heal the files

bugzilla at redhat.com bugzilla at redhat.com
Mon Aug 24 06:54:25 UTC 2015


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



--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11982 committed in release-3.7 by Raghavendra
G (rgowdapp at redhat.com) 
------
commit 246dae5b89770a4642d4fbe4650a44475144c55a
Author: Ravishankar N <ravishankar at redhat.com>
Date:   Thu Aug 13 18:33:08 2015 +0530

    afr: launch index heal on local subvols up on a child-up event

    Backport of http://review.gluster.org/#/c/11912/
    Problem:
    When a replica's child goes down and comes up, the index heal is
    triggered only on the child that just came up. This does not serve the
    intended purpose as the list of files that need to be healed
    to this child is actually captured on the other child of the replica.

    Fix:
    Launch index-heal on all local children of the replica xlator which just
    received a child up. Note that afr_selfheal_childup() eventually calls
    afr_shd_index_healer() which will not run the heal on non-local
    children.

    Signed-off-by: Ravishankar N <ravishankar at redhat.com>

    Change-Id: Ia23e47d197f983c695ec0bcd283e74931119ee55
    BUG: 1255690
    Reviewed-on: http://review.gluster.org/11982
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Krutika Dhananjay <kdhananj at redhat.com>
    Reviewed-by: Raghavendra G <rgowdapp 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=I7aSHpQB6D&a=cc_unsubscribe


More information about the Bugs mailing list