]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: do not clobber pending xinfo during boot 29221/head
authorSage Weil <sage@redhat.com>
Tue, 9 Jul 2019 18:54:33 +0000 (13:54 -0500)
committerSage Weil <sage@redhat.com>
Thu, 25 Jul 2019 20:55:35 +0000 (15:55 -0500)
commit7f89617b64bf109fee89415fa881760d7bb32482
tree6551bc52a046f04fd08924287ac0847eb765b060
parentb75e17159b970e97280ecf809333e1daafc4c091
mon/OSDMonitor: do not clobber pending xinfo during boot

If we have a pending xinfo change and also process a boot message, we
should not throw out the pending xinfo change.

This triggers when you mark an osd down and it sends both a MOSDMarkMeDead
and a new MOSDBoot message in quick succession: the first message sets
dead_epoch but the boot message processing clobbers it.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/OSDMonitor.cc