summaryrefslogtreecommitdiffstats
path: root/geo-replication/syncdaemon/gsyncd.py
diff options
context:
space:
mode:
authorAravinda VK <avishwan@redhat.com>2016-08-31 11:53:06 +0530
committerAravinda VK <avishwan@redhat.com>2016-09-07 23:11:18 -0700
commit5de500cd0116796ff797099c60d33258bd48ce3c (patch)
tree789417fc6c528986117a40c19543543bc0a9704e /geo-replication/syncdaemon/gsyncd.py
parent0fd7d0e1c78fdbedfcdb085445c4b0be3c1a97a9 (diff)
geo-rep: Fix History post process
This patch removes changelogsdb part of post processing since not got much performance advantage as expected. Entry stime and other logging improvements retained. BUG: 1364420 Change-Id: Ib99d23f09d96c14bc28225b47d9134260f5551bf Signed-off-by: Aravinda VK <avishwan@redhat.com> Reviewed-on: http://review.gluster.org/15371 NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Kotresh HR <khiremat@redhat.com> Smoke: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'geo-replication/syncdaemon/gsyncd.py')
-rw-r--r--geo-replication/syncdaemon/gsyncd.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/geo-replication/syncdaemon/gsyncd.py b/geo-replication/syncdaemon/gsyncd.py
index 918bee0ce1c..84b26a41145 100644
--- a/geo-replication/syncdaemon/gsyncd.py
+++ b/geo-replication/syncdaemon/gsyncd.py
@@ -275,27 +275,6 @@ def main_i():
op.add_option('--log-rsync-performance', default=False,
action='store_true')
op.add_option('--max-rsync-retries', type=int, default=10)
-
- # This is for stime granularity, Bigger batch will be split into
- # multiple data batches, On failure it will start from this point
- # Default value is 1 day changelogs
- # (4 * 60 * 24 = 5760)
- # 4 changelogs per minute
- # 60 min per hr
- # 24 hrs per day
- op.add_option('--max-data-changelogs-in-batch', type=int, default=5760)
-
- # While processing Historical Changelogs above BATCH SIZE is not considered
- # since all Changelogs to be post processed once, Batching it makes more
- # rsync retries. (4 * 60 * 24 * 15 = 86400)
- # 4 changelogs per minute
- # 60 min per hr
- # 24 hrs per day
- # 15 days
- # This means 15 days changelogs can be processed at once in case of
- # History scan
- op.add_option('--max-history-changelogs-in-batch', type=int, default=86400)
-
op.add_option('--pause-on-start', default=False, action='store_true')
op.add_option('-L', '--log-level', metavar='LVL')
op.add_option('-r', '--remote-gsyncd', metavar='CMD',