mirror of
https://github.com/ceph/ceph
synced 2025-01-20 10:01:45 +00:00
mon: do not remove FULL/NEARFULL flags from osdmap
b4ca5ae462
has dropped them since v13.0.1,
so we don't need to do this in v15 anymore even if user upgrades an
existing cluster from v13.
Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
5ee4b5cca1
commit
cbb88da947
@ -1594,15 +1594,6 @@ void OSDMonitor::encode_pending(MonitorDBStore::TransactionRef t)
|
||||
}
|
||||
}
|
||||
|
||||
// remove any legacy osdmap nearfull/full flags
|
||||
{
|
||||
if (tmp.test_flag(CEPH_OSDMAP_FULL | CEPH_OSDMAP_NEARFULL)) {
|
||||
dout(10) << __func__ << " clearing legacy osdmap nearfull/full flag"
|
||||
<< dendl;
|
||||
remove_flag(CEPH_OSDMAP_NEARFULL);
|
||||
remove_flag(CEPH_OSDMAP_FULL);
|
||||
}
|
||||
}
|
||||
// collect which pools are currently affected by
|
||||
// the near/backfill/full osd(s),
|
||||
// and set per-pool near/backfill/full flag instead
|
||||
|
Loading…
Reference in New Issue
Block a user