summaryrefslogtreecommitdiffstats
path: root/geo-replication/Makefile.am
diff options
context:
space:
mode:
authorMilind Changire <mchangir@redhat.com>2016-01-29 13:53:07 +0530
committerVijay Bellur <vbellur@redhat.com>2016-03-08 08:34:57 -0800
commit16f42cdef539d5c63784f989af9ae877a94d72e7 (patch)
treeda1d855748f46df9fe112470d6d5864f2baa601c /geo-replication/Makefile.am
parentc249931f2ca37d56391e671b37479555fec92686 (diff)
georep: avoid creating multiple entries with same gfid
Problem: CREATE + RENAME changelogs replayed by geo-replication cause stale old-name entries with same gfid on slave nodes. A gfid is a unique key in the file-system and should not be assigned to multiple entries. Solution: Create entry on slave only if lstat(gfid) at aux-mount fails. This applies to files as well as directories. Change-Id: Ice3340f4ae1251c2dcef024a2388c4d33b5d4919 BUG: 1296208 Signed-off-by: Milind Changire <mchangir@redhat.com> Reviewed-on: http://review.gluster.org/13316 Smoke: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kotresh HR <khiremat@redhat.com> Reviewed-by: Aravinda VK <avishwan@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> (cherry picked from commit 87d93fac9fcc4b258b7eb432ac4151cdd043534f) Reviewed-on: http://review.gluster.org/13571
Diffstat (limited to 'geo-replication/Makefile.am')
0 files changed, 0 insertions, 0 deletions