From: Sage Weil Date: Mon, 13 Jan 2014 23:51:41 +0000 (-0800) Subject: mon/PGMap: make decode version match encode version X-Git-Tag: v0.77~20^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=33b5ef4030b6a164bc4d2457eae3823b3d0a6e76;p=ceph.git mon/PGMap: make decode version match encode version These should have been bumped way back in 091809b8. Signed-off-by: Sage Weil --- diff --git a/src/mon/PGMap.cc b/src/mon/PGMap.cc index 5801b2a0615b..db0c24e74339 100644 --- a/src/mon/PGMap.cc +++ b/src/mon/PGMap.cc @@ -47,7 +47,7 @@ void PGMap::Incremental::encode(bufferlist &bl, uint64_t features) const void PGMap::Incremental::decode(bufferlist::iterator &bl) { - DECODE_START_LEGACY_COMPAT_LEN(6, 5, 5, bl); + DECODE_START_LEGACY_COMPAT_LEN(7, 5, 5, bl); ::decode(version, bl); if (struct_v < 3) { pg_stat_updates.clear(); @@ -481,7 +481,7 @@ void PGMap::encode(bufferlist &bl, uint64_t features) const void PGMap::decode(bufferlist::iterator &bl) { - DECODE_START_LEGACY_COMPAT_LEN(5, 4, 4, bl); + DECODE_START_LEGACY_COMPAT_LEN(6, 4, 4, bl); ::decode(version, bl); if (struct_v < 3) { pg_stat.clear();