path: root/geo-replication/
diff options
authorKotresh HR <>2018-08-24 07:16:18 -0400
committerAravinda VK <>2018-08-27 03:46:06 +0000
commit98714f503768db9a2ee442a544702c801a31ae6d (patch)
tree15b208e6b50294ed5d6cd606ef204e6b1e522784 /geo-replication/
parentf74181f85ab953b1f08eae358784e4b102b773b9 (diff)
geo-rep: Make automatic gfid conflict resolution optional
Autmatic gfid conflict resolution needs to be disabled during failover/failback as it might lead to data loss in the following scenario. 1. Master went down without syncing directory "dir1" to slave. 2. When slave is failed over to master, if a new file is written inside "dir1", creating dir1 again if not present, "dir1" ends up with different gfid on original slave. 3. When original master is up and failed back, due to automatic gfid conflict resolution, "dir1" present in original master is deleted losing all files and only new file created on original slave is restored. Hence during failover/failback, automatic gfid conflict resolution should be disabled. So in these cases, appropriate decision is taken. fixes: bz#1622076 Signed-off-by: Kotresh HR <> Change-Id: I433616f5d3e13d4b6eb675475bd554ca34928573
Diffstat (limited to 'geo-replication/')
1 files changed, 6 insertions, 0 deletions
diff --git a/geo-replication/ b/geo-replication/
index bd04400ff69..ce4ef9b663a 100644
--- a/geo-replication/
+++ b/geo-replication/
@@ -169,6 +169,12 @@ help=Do not sync deletes in Slave
value =
+value = true
+help=Disables automatic gfid conflict resolution while syncing
value = ${gsyncd_miscdir}/${master}_${primary_slave_host}_${slavevol}/