summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2011-03-31 05:58:58 +0000
committerVijay Bellur <vijay@dev.gluster.com>2011-04-01 11:19:05 -0700
commit913da6c337cfe342d60f3773057a14d645248421 (patch)
treef99e1b51c524efc2dfe646e294cef91026c1e982 /xlators
parentc0e6146f53d3e91764e9ff602ccba9a637b2db7d (diff)
syncdaemon: fix up fallback xtime value for slave
Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 2535 (gsync cascading) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2535
Diffstat (limited to 'xlators')
-rw-r--r--xlators/features/marker/utils/syncdaemon/master.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/marker/utils/syncdaemon/master.py b/xlators/features/marker/utils/syncdaemon/master.py
index dfa7a2e6f..28b014e12 100644
--- a/xlators/features/marker/utils/syncdaemon/master.py
+++ b/xlators/features/marker/utils/syncdaemon/master.py
@@ -69,7 +69,7 @@ class GMaster(object):
if not 'create' in opts:
opts['create'] = (rsc == self.master and not self.inter_master)
if not 'default_xtime' in opts:
- if self.inter_master:
+ if rsc == self.master and self.inter_master:
opts['default_xtime'] = ENODATA
else:
opts['default_xtime'] = URXTIME