From: Sage Weil Date: Wed, 4 Jan 2012 21:21:36 +0000 (-0800) Subject: mon: rev cluster protocol X-Git-Tag: v0.41~34^2^2~33 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b8be3382262d8bda8502f4dfec188183f456a014;p=ceph.git mon: rev cluster protocol The OSDMap NEW and AUTOOUT bit additions subtely change the decoding of the incremental maps in a reasonably harmless way in that the bits get implicitly cleared whenever the OSD weight changes from non-zero. The monitors need to agree on this behavior to avoid odd behavior. We don't care what clients see, since those bits are informational only. Signed-off-by: Sage Weil --- diff --git a/src/include/ceph_fs.h b/src/include/ceph_fs.h index 7224201303cb..8bc0b87475a7 100644 --- a/src/include/ceph_fs.h +++ b/src/include/ceph_fs.h @@ -23,7 +23,7 @@ */ #define CEPH_OSD_PROTOCOL 8 /* cluster internal */ #define CEPH_MDS_PROTOCOL 14 /* cluster internal */ -#define CEPH_MON_PROTOCOL 8 /* cluster internal */ +#define CEPH_MON_PROTOCOL 9 /* cluster internal */ #define CEPH_OSDC_PROTOCOL 24 /* server/client */ #define CEPH_MDSC_PROTOCOL 32 /* server/client */ #define CEPH_MONC_PROTOCOL 15 /* server/client */