]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: rev cluster protocol
authorSage Weil <sage@newdream.net>
Wed, 4 Jan 2012 21:21:36 +0000 (13:21 -0800)
committerSage Weil <sage@newdream.net>
Wed, 4 Jan 2012 23:57:41 +0000 (15:57 -0800)
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 <sage@newdream.net>
src/include/ceph_fs.h

index 7224201303cbefe5183e05102bbdcfd05a893e56..8bc0b87475a734ec3c17fc663e5be90c172e8643 100644 (file)
@@ -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 */