diff options
Diffstat (limited to 'geo-replication/syncdaemon/master.py')
| -rw-r--r-- | geo-replication/syncdaemon/master.py | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/geo-replication/syncdaemon/master.py b/geo-replication/syncdaemon/master.py index 662d2ba7481..a7a46e37764 100644 --- a/geo-replication/syncdaemon/master.py +++ b/geo-replication/syncdaemon/master.py @@ -108,6 +108,10 @@ class NormalMixin(object):              xt = rsc.server.xtime(path, self.uuid)          else:              xt = rsc.server.stime(path, self.uuid) +            if isinstance(xt, int) and xt == ENODATA: +                xt = rsc.server.xtime(path, self.uuid) +                if not isinstance(xt, int): +                    self.slave.server.set_stime(path, self.uuid, xt)          if isinstance(xt, int) and xt != ENODATA:              return xt          if xt == ENODATA or xt < self.volmark:  | 
