summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2011-04-13 01:46:03 +0000
committerAnand Avati <avati@gluster.com>2011-04-13 04:42:58 -0700
commitea2e55bae0203b00dc4872a3333dce84cf7bef7d (patch)
treecf2975932642f35e3ff95c72e9f2c70a41137112 /xlators
parent9a81400a4accc68bfe55a0bee69ca7e2ed5894f3 (diff)
syncdaemon: fix parsing of the volume-mark structure
The parsing error implied that all xtimes were considered to be valid, regardless of the volume mark. Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Anand Avati <avati@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/resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/marker/utils/syncdaemon/resource.py b/xlators/features/marker/utils/syncdaemon/resource.py
index 09ab9c3a49b..d1df57d0195 100644
--- a/xlators/features/marker/utils/syncdaemon/resource.py
+++ b/xlators/features/marker/utils/syncdaemon/resource.py
@@ -353,7 +353,7 @@ class GLUSTER(AbstractUrl, SlaveLocal, SlaveRemote):
volinfo = { 'version': vm[0:2],
'uuid' : uuid,
'retval' : vm[18],
- 'volume_mark': vm[18:20],
+ 'volume_mark': vm[19:21],
}
if extra_fields:
return volinfo, vm[-len(extra_fields):]