[Bugs] [Bug 1177601] [FEAT[ Implement proactive self-heal daemon feature for disperse subvolumes

bugzilla at redhat.com bugzilla at redhat.com
Mon Mar 9 22:36:35 UTC 2015


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



--- Comment #58 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9787 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit a70231c78aaea436575d427a1386a64d1471b776
Author: Pranith Kumar K <pkarampu at redhat.com>
Date:   Fri Feb 27 16:01:31 2015 +0530

    cluster/ec: Add self-heal-daemon command handlers

    This patch introduces the changes required in ec xlator to handle
    index/full heal.

    Index healer threads:
    Ec xlator start an index healer thread per local brick. This thread keeps
    waking up every minute to check if there are any files to be healed based
on
    the indices kept in index directory. Whenever child_up event comes, then
also
    this index healer thread wakes up and crawls the indices and triggers heal.
    When self-heal-daemon is disabled on this particular volume then the healer
    thread keeps waiting until it is enabled again to perform heals.

    Full healer threads:
    Ec xlator starts a full healer thread for the local subvolume provided by
    glusterd to perform full crawl on the directory hierarchy to perform heals.
    Once the crawl completes the thread exits if no more full heals are issued.

    Changed xl-op prefix GF_AFR_OP to GF_SHD_OP to make it more generic.

    Change-Id: Idf9b2735d779a6253717be064173dfde6f8f824b
    BUG: 1177601
    Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
    Reviewed-on: http://review.gluster.org/9787
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Ravishankar N <ravishankar at redhat.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=g3Hg7OWQlp&a=cc_unsubscribe


More information about the Bugs mailing list