]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: assert if pgmap's format_version < 1 13150/head
authorKefu Chai <kchai@redhat.com>
Tue, 24 Jan 2017 09:22:22 +0000 (17:22 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 27 Jan 2017 04:17:38 +0000 (12:17 +0800)
commite5c256d12eb0de3f589738f64be16aa4daa18f58
tree38d7460654eb44ae66bea5157447b8557f8b45fc
parentff1fd4b4b69b52ef5ae734115b1d733aad03b03e
mon: assert if pgmap's format_version < 1

we bump the pgmap's format_version to 1 and the monitor's protocol
version to 12 in 2d2aa00. and it is required to upgrade to jewel before
upgrading to kraken or luminous. so we can safely assume that the
PGMonitor's format_version is always greater or equal to 1.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mon/PGMonitor.cc