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

bugzilla at redhat.com bugzilla at redhat.com
Tue Mar 22 09:06:53 UTC 2016


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



--- Comment #3 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13692 committed in release-3.7 by Dan
Lambright (dlambrig at redhat.com) 
------
commit 84d378dcb3cfae9e643eb548e9861cfb274df15e
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

        back-port of : http://review.gluster.org/#/c/13501/

    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>

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

-- 
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