summaryrefslogtreecommitdiffstats
path: root/geo-replication/gsyncd.conf.in
diff options
context:
space:
mode:
authorKotresh HR <khiremat@redhat.com>2018-09-14 03:42:26 -0400
committerShyamsundar Ranganathan <srangana@redhat.com>2018-09-21 13:25:43 +0000
commite50a6ee2c913b5b4df53f0efca4de66c5262d1e1 (patch)
treea949c7c9241bd5beedeb3d0ee0478e2af77b4b63 /geo-replication/gsyncd.conf.in
parent72514f20d2ae947529cd1c4b4b009f27bae7032a (diff)
geo-rep: Fix issues related config set
1. '--ignore-mising-args' option for rsync is not being used even though the rsync version is greater than 3.1.0. Fixed the same. 2. '--existing' option for rsync is also not being used. Fixed the same. 3. geo-rep config fails to set rsync-options as the value contains '--'. Interestingly, python argsparse treats the value with '--' (e.g., --ignore-missing-args) as option. But when passed with something like --value=--ignore-missing-args, it succeeds. Fixed the same. Backport of: > Patch: https://review.gluster.org/21191 > Change-Id: Iaeb838acaff1c2920fee9c7f920c99edce13a0a1 > Signed-off-by: Kotresh HR <khiremat@redhat.com> > BUG: 1629561 Change-Id: Iaeb838acaff1c2920fee9c7f920c99edce13a0a1 Signed-off-by: Kotresh HR <khiremat@redhat.com> fixes: bz#1630140
Diffstat (limited to 'geo-replication/gsyncd.conf.in')
-rw-r--r--geo-replication/gsyncd.conf.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/geo-replication/gsyncd.conf.in b/geo-replication/gsyncd.conf.in
index 0a842cf2be3..58ca6275b7e 100644
--- a/geo-replication/gsyncd.conf.in
+++ b/geo-replication/gsyncd.conf.in
@@ -301,10 +301,12 @@ value=
value=
[rsync-opt-ignore-missing-args]
-value=
+value=true
+type=bool
[rsync-opt-existing]
-value=
+value=true
+type=bool
[log-rsync-performance]
value=false