summaryrefslogtreecommitdiffstats
path: root/geo-replication
diff options
context:
space:
mode:
Diffstat (limited to 'geo-replication')
-rw-r--r--geo-replication/syncdaemon/resource.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/geo-replication/syncdaemon/resource.py b/geo-replication/syncdaemon/resource.py
index 6341de5ea79..b759ed665e9 100644
--- a/geo-replication/syncdaemon/resource.py
+++ b/geo-replication/syncdaemon/resource.py
@@ -545,7 +545,8 @@ class Server(object):
[path,
'.'.join([cls.GX_NSPACE, uuid, 'stime']),
struct.pack('!II', *mark)],
- [ENOENT])
+ [ENOENT],
+ [ESTALE, EINVAL])
@classmethod
@_pathguard
@@ -555,7 +556,8 @@ class Server(object):
[path,
'.'.join([cls.GX_NSPACE, uuid, 'xtime']),
struct.pack('!II', *mark)],
- [ENOENT])
+ [ENOENT],
+ [ESTALE, EINVAL])
@classmethod
@_pathguard