diff options
author | Aravinda VK <avishwan@redhat.com> | 2014-05-05 11:04:00 +0530 |
---|---|---|
committer | Venky Shankar <vshankar@redhat.com> | 2014-05-09 00:17:59 -0700 |
commit | 65757e0f57f93103d87fdf9534c5ca25b66d14b7 (patch) | |
tree | 9536b28ac93d7a45d76cd30c2aaa975b9ab26c62 /geo-replication/syncdaemon/libgfchangelog.py | |
parent | 93129e862a2dde291ddbf22fe30d955b25da6059 (diff) |
geo-rep: Changelog History consumption more fixes
Number of parallel threads to process changelog history
is made configurable via sync_jobs
Change-Id: Idcd8e655d9df540cfa48648b9e98af941f95e9d0
Signed-off-by: Aravinda VK <avishwan@redhat.com>
Reviewed-on: http://review.gluster.org/7660
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Tested-by: Venky Shankar <vshankar@redhat.com>
Diffstat (limited to 'geo-replication/syncdaemon/libgfchangelog.py')
-rw-r--r-- | geo-replication/syncdaemon/libgfchangelog.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/geo-replication/syncdaemon/libgfchangelog.py b/geo-replication/syncdaemon/libgfchangelog.py index 099867a511a..e6bfbefd0a6 100644 --- a/geo-replication/syncdaemon/libgfchangelog.py +++ b/geo-replication/syncdaemon/libgfchangelog.py @@ -85,8 +85,9 @@ class Changes(object): return ret @classmethod - def cl_history_changelog(cls, changelog_path, start, end): - ret = cls._get_api('gf_history_changelog')(changelog_path, start, end) + def cl_history_changelog(cls, changelog_path, start, end, num_parallel): + ret = cls._get_api('gf_history_changelog')(changelog_path, start, end, + num_parallel) if ret == -1: cls.raise_changelog_err() |