]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: add inline feature to MDS bootstrap incompat
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 31 Jan 2022 22:58:55 +0000 (17:58 -0500)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 3 Feb 2022 16:02:02 +0000 (11:02 -0500)
commitd341c5b7734b45568cd986f05d41e91e4cf4a4f7
treea427c801e964502cfc55dc69e8fd98d70b5cf64d
parente2c461e02a8cc03a99cf6eb7bfb85fa3483efcea
mds: add inline feature to MDS bootstrap incompat

File systems that had inline data enabled at some point would have this
bit in the CompatSet "incompat" set. This would conflict during upgrade
with the default v16.2.4 CompatSet assigned to existing (16.2.4-) MDS.
Subsequently, this would cause an assertion in FSMap::sanity during
pending map creation.

This bit will get added anyway during the upgrade process so might as
well add it to the MDS CompatSet during bootstrap.

Fixes: https://tracker.ceph.com/issues/54081
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mds/FSMap.cc
src/mds/MDSMap.cc