Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
osd/OSDMap: clear osd_info, osd_xinfo on osd deletion
If we destroy an OSD in the map, clear not just the uuid but also all the metadata about it. Specifically, we care about up_from, which can prevent a new OSD from booting if it starts with a map prior to the deletion when it sends it boot. Note that this changes the result of applying an incremental. As such, it will cause lots of old OSDs to request full maps from the mon, spiking load during an upgrade. This is as it should be. Fixes: #13988 Signed-off-by: Sage Weil <sage@redhat.com>
- Loading branch information