mirror of
https://github.com/ceph/ceph
synced 2025-02-22 10:37:15 +00:00
Merge pull request #8857 from liewegas/wip-15678
osd: handle boot racing with NOUP set test run http://pulpito.ceph.com/yuriw-2016-05-07_09:11:04-rados-wip-yuri-testing---basic-smithi/
This commit is contained in:
commit
22dc9696b6
@ -6871,9 +6871,9 @@ void OSD::_committed_osd_maps(epoch_t first, epoch_t last, MOSDMap *m)
|
||||
}
|
||||
}
|
||||
|
||||
if (osdmap->test_flag(CEPH_OSDMAP_NOUP) &&
|
||||
!newmap->test_flag(CEPH_OSDMAP_NOUP)) {
|
||||
dout(10) << __func__ << " NOUP flag cleared in " << newmap->get_epoch()
|
||||
if (osdmap->test_flag(CEPH_OSDMAP_NOUP) !=
|
||||
newmap->test_flag(CEPH_OSDMAP_NOUP)) {
|
||||
dout(10) << __func__ << " NOUP flag changed in " << newmap->get_epoch()
|
||||
<< dendl;
|
||||
if (is_booting()) {
|
||||
// this captures the case where we sent the boot message while
|
||||
|
Loading…
Reference in New Issue
Block a user