[Bugs] [Bug 1296175] geo-rep: hard-link rename issue on changelog replay

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 9 08:26:30 UTC 2016


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



--- Comment #3 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13638 committed in release-3.7 by Aravinda VK
(avishwan at redhat.com) 
------
commit 0cb6e6e7020c5a4f2e5c34c6b8cbfa4fdeb45191
Author: Milind Changire <mchangir at redhat.com>
Date:   Wed Jan 6 21:23:51 2016 +0530

    geo-rep: hard-link rename issues on changelog replay

    Problem:
    LINK + RENAME changelog when replayed after worker restart causes stale
    hard-links to persist since VFS returns success for RENAME if hard-links
    point to same inode.

    Solution:
    Worker detects RENAME being issued on hard-links to the same inode and
    unlinks the source file-name. Conditionally rename by verifying that the
    source gfid matches with the on-disk gfid on the slave.

    Change-Id: I3ff1c30ef79e77503c8b246d46dab8ac3059ccf2
    BUG: 1296175
    Reviewed-on: http://review.gluster.org/13189
    Signed-off-by: Milind Changire <mchangir at redhat.com>
    Reviewed-on: http://review.gluster.org/13638
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    Tested-by: Aravinda VK <avishwan at redhat.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Aravinda VK <avishwan 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=vXKKHtzrfZ&a=cc_unsubscribe


More information about the Bugs mailing list