From ea2e55bae0203b00dc4872a3333dce84cf7bef7d Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Wed, 13 Apr 2011 01:46:03 +0000 Subject: 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 Signed-off-by: Anand Avati BUG: 2535 (gsync cascading) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2535 --- xlators/features/marker/utils/syncdaemon/resource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):] -- cgit