summaryrefslogtreecommitdiffstats
path: root/geo-replication/syncdaemon/gconf.py
diff options
context:
space:
mode:
Diffstat (limited to 'geo-replication/syncdaemon/gconf.py')
-rw-r--r--geo-replication/syncdaemon/gconf.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/geo-replication/syncdaemon/gconf.py b/geo-replication/syncdaemon/gconf.py
index 1fc7c381bc4..39a70a650b3 100644
--- a/geo-replication/syncdaemon/gconf.py
+++ b/geo-replication/syncdaemon/gconf.py
@@ -21,5 +21,11 @@ class GConf(object):
log_exit = False
permanent_handles = []
log_metadata = {}
+ """One variable is sufficient to track the
+ switching of worker to ACTIVE. Two variables
+ are intentionally used to track worker going
+ to PASSIVE as well mainly for debugging"""
+ active_earlier = False
+ passive_earlier = False
gconf = GConf()