]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: load stashed map before mkfs monmap 41768/head
authorDan van der Ster <daniel.vanderster@cern.ch>
Thu, 8 Apr 2021 10:12:55 +0000 (12:12 +0200)
committerNeha Ojha <nojha@redhat.com>
Tue, 8 Jun 2021 19:52:03 +0000 (19:52 +0000)
commitd204d81c83c675609a9ef6c202833a42d57e0293
tree275b8657da30ad9178327eb06271980b1737640a
parentcdee62ae28fb8833e4b384c64f3a6e4f17807ab7
mon: load stashed map before mkfs monmap

After mkfs the store may not yet contain monmap:last_committed but
might be respawning after setting mon_sync:temp_newer_monmap.
Load that stashed map before falling back to the mkfs:monmap.

Fixes: https://tracker.ceph.com/issues/50230
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
(cherry picked from commit cc0b4c77753962717da8a280a585990f7eec3c7b)
src/ceph_mon.cc