summaryrefslogtreecommitdiffstats
path: root/xlators/features/bit-rot/src/stub/bit-rot-stub.c
diff options
context:
space:
mode:
authorMilind Changire <mchangir@redhat.com>2016-01-06 21:23:51 +0530
committerAravinda VK <avishwan@redhat.com>2016-03-09 00:25:15 -0800
commitbf03543388c39e4b5162ff5866ba4754fb4fdfc1 (patch)
tree3e4fa666fdaf70759d7d0e63a3f9a19c121e3e2a /xlators/features/bit-rot/src/stub/bit-rot-stub.c
parent5cb80ac63b17a3c34d4deef1816e1782757687d9 (diff)
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@redhat.com> Reviewed-on: http://review.gluster.org/13189 Smoke: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Aravinda VK <avishwan@redhat.com>
Diffstat (limited to 'xlators/features/bit-rot/src/stub/bit-rot-stub.c')
0 files changed, 0 insertions, 0 deletions