diff options
author | Aravinda VK <avishwan@redhat.com> | 2015-02-04 23:08:31 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-05-03 11:10:44 -0700 |
commit | e4e8c378728da595d18d488b438662efc2fea844 (patch) | |
tree | 8411faf47f9074a41fc4d929c711bb14b0be59a7 /geo-replication/syncdaemon/configinterface.py.in | |
parent | 63ff54cdced349c7beb4aa78a35b9d027310e757 (diff) |
geo-rep: Re Enable ignore_deletes Option
If this option is set, Deletes will not be propogated to Slave.
This option is applicable for UNLINK and RMDIR.
gluster volume geo-replication <MASTER> <SLAVEHOST>::<SLAVEVOL> \
config ignore_deletes true
Default value is false.
PS: Use this option with caution, If you create the file in master
with same path then it fails to sync to slave. Old file in Slave
will have different GFID compared to New.
BUG: 1217929
Change-Id: I1f7816d1ea36460a654873739d3fb1b6c13e0f8d
Signed-off-by: Aravinda VK <avishwan@redhat.com>
Reviewed-on: http://review.gluster.org/9583
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-on: http://review.gluster.org/10498
Tested-by: NetBSD Build System
Diffstat (limited to 'geo-replication/syncdaemon/configinterface.py.in')
-rw-r--r-- | geo-replication/syncdaemon/configinterface.py.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/geo-replication/syncdaemon/configinterface.py.in b/geo-replication/syncdaemon/configinterface.py.in index 1c174b5b760..f8df49935f1 100644 --- a/geo-replication/syncdaemon/configinterface.py.in +++ b/geo-replication/syncdaemon/configinterface.py.in @@ -60,6 +60,10 @@ CONFIGS = ( "working_dir", "@localstatedir@/run/gluster/${mastervol}/${eSlave}", "${iprefix}/lib/misc/glusterfsd/${mastervol}/${eSlave}"), + ("peersrx . .", + "ignore_deletes", + "true", + "false"), ) |