]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
messages/MOSDMap: significant feature bits.
authorXiaoxi CHEN <xiaoxchen@ebay.com>
Mon, 23 Apr 2018 17:58:11 +0000 (12:58 -0500)
committerXiaoxi CHEN <xiaoxchen@ebay.com>
Mon, 14 May 2018 06:43:27 +0000 (23:43 -0700)
commit0a0d682c17c5ee1d05f8c9e4ff51174dc25face8
treed8d2a6c8e75cd6cf8ebe8addf8ded73205a00f5f
parent0b6c15aedc723e246a43571f3470019194da8142
messages/MOSDMap: significant feature bits.

1. MOSDMap go with features indicating the features
this map encoded for.

2. Only reencode if significant bits mismatch between
target features and my features.

also update mon/OSDMonitor and osd/OSDService to adopt this change.

Signed-off-by: Xiaoxi CHEN <xiaoxchen@ebay.com>
(cherry picked from commit dc7a219468b5a9313b5a1d660c1b61e1e35b718d)

Conflicts:
src/messages/MOSDMap.h
            drop COMPACT_VERSION
src/mon/OSDMonitor.cc
            drop get_removed_snaps_range
   Both introduced by post-luminous commit 49833c3bb264949b8126796997a95a95b50af411
src/messages/MOSDMap.h
src/mon/OSDMonitor.cc
src/osd/OSD.cc