[Bugs] [Bug 1296174] geo-rep: hard-link rename issue on changelog replay
bugzilla at redhat.com
bugzilla at redhat.com
Wed Mar 9 08:25:21 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1296174
--- Comment #9 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13189 committed in master by Aravinda VK
(avishwan at redhat.com)
------
commit bf03543388c39e4b5162ff5866ba4754fb4fdfc1
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: 1296174
Signed-off-by: Milind Changire <mchangir at redhat.com>
Reviewed-on: http://review.gluster.org/13189
Smoke: Gluster Build System <jenkins at build.gluster.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=lvNBJBIQup&a=cc_unsubscribe
More information about the Bugs
mailing list