[Bugs] [Bug 1311178] Tier: Actual files are not demoted and keep on trying to demoted deleted files

bugzilla at redhat.com bugzilla at redhat.com
Mon Mar 14 06:05:48 UTC 2016


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



--- Comment #8 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13501 committed in master by Dan Lambright
(dlambrig at redhat.com) 
------
commit d9b5fef0333e63db9d3b5077968254e3ea9d2af4
Author: hari gowtham <hgowtham at redhat.com>
Date:   Tue Feb 23 20:09:52 2016 +0530

    Tier: Avoiding stale entries from causing demotion to stop

    When the parent GFID is a stale entry, the lookup on this parent
    fails and this in turn fails the demotion process.

    This patch will make the stale entry error to be skipped.

    Situation for pargfid to be stale:
    Consider a folder from a tar file. Once the tar file is untared
    the files in the tar-file will start to demote.
    when the demotion is under progress, if we tend to delete
    the actual folder, then the files under it which are
    undergoing demotion will do a lookup on the parent which was
    deleted and become stale entry. This stale entry fails the
    Lookup and this will fail the demotion of the other files(not from
    tar) that are supposed to be demoted.

    Change-Id: I3d47c32c4077526d477a25912b0135bab98b23fc
    BUG: 1311178
    Signed-off-by: hari gowtham <hgowtham at redhat.com>
    Reviewed-on: http://review.gluster.org/13501
    Tested-by: hari gowtham <hari.gowtham005 at gmail.com>
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Dan Lambright <dlambrig at redhat.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.


More information about the Bugs mailing list