diff options
author | Aravinda VK <avishwan@redhat.com> | 2014-04-29 12:14:24 +0530 |
---|---|---|
committer | Venky Shankar <vshankar@redhat.com> | 2014-05-09 00:27:40 -0700 |
commit | c7b0396f680863528248e6f5a162de47184b6c88 (patch) | |
tree | ead2f295d041df1e258db4bf09fe10944b15f4d7 /geo-replication/syncdaemon/syncdutils.py | |
parent | 65757e0f57f93103d87fdf9534c5ca25b66d14b7 (diff) |
geo-rep: Pause and Resume feature for geo-replication
Changelog consumption/processing now happens in seperate process
group than monitor. When monitor process group gets SIGSTOP all
worker process, ssh, rsync will be paused except the changelog
processing. When it gets SIGCONT it resumes its operation.
Changelog agent runs as RepceServer, geo-rep worker communicates
with changelog agent using RepceClient.
Change-Id: I35c333e4d8b13d03a7808aed601960eef23cfa04
BUG: 1093602
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Signed-off-by: Aravinda VK <avishwan@redhat.com>
Reviewed-on: http://review.gluster.org/7322
Diffstat (limited to 'geo-replication/syncdaemon/syncdutils.py')
-rw-r--r-- | geo-replication/syncdaemon/syncdutils.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/geo-replication/syncdaemon/syncdutils.py b/geo-replication/syncdaemon/syncdutils.py index 65daeb0fe7c..9eda6044472 100644 --- a/geo-replication/syncdaemon/syncdutils.py +++ b/geo-replication/syncdaemon/syncdutils.py @@ -47,6 +47,9 @@ except ImportError: _CL_AUX_GFID_PFX = ".gfid/" GF_OP_RETRIES = 20 +CHANGELOG_AGENT_SERVER_VERSION = 1.0 +CHANGELOG_AGENT_CLIENT_VERSION = 1.0 + def escape(s): """the chosen flavor of string escaping, used all over |