[Bugs] [Bug 1331323] [Granular entry sh] - Implement renaming of indices in index translator

bugzilla at redhat.com bugzilla at redhat.com
Tue Jul 12 06:13:58 UTC 2016


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



--- Comment #14 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14832 committed in master by Pranith Kumar
Karampuri (pkarampu at redhat.com) 
------
commit ceac3b4172e7c689941ec3e734eca6c537e69368
Author: Krutika Dhananjay <kdhananj at redhat.com>
Date:   Mon Jun 27 15:21:26 2016 +0530

    afr, index: Clean up stale directory and file indices in granular entry sh

    Specifically when a directory tree is removed (rm -rf)
    while a brick is down, both the directory index and the
    name indices of the files and subdirs under it will remain.
    Self-heal will need to pick up these and remove them.

    Towards this, afr sh will now also crawl indices/entry-changes
    and call an rmdir on the dir if the directory index is stale.

    On the brick side, rmdir fop has been implemented for index xl,
    which would delete the directory index and its contents if present
    in a synctask.

    Change-Id: I8b527331c2547e6c141db6c57c14055ad1198a7e
    BUG: 1331323
    Signed-off-by: Krutika Dhananjay <kdhananj at redhat.com>
    Reviewed-on: http://review.gluster.org/14832
    Reviewed-by: Ravishankar N <ravishankar at redhat.com>
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>

-- 
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=cYur7Mg3FT&a=cc_unsubscribe


More information about the Bugs mailing list