This warning was added as part of Crimson pg merging and is supposed to be
meant just for Crimson pools. Correcting the if condition to reflect the same.
Fixes: https://tracker.ceph.com/issues/77459
Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
p.last_change = pending_inc.epoch;
} else {
// back off the merge attempt!
- if (!m->ready && !p.has_flag(pg_pool_t::FLAG_CRIMSON)) {
+ if (!m->ready && p.has_flag(pg_pool_t::FLAG_CRIMSON)) {
mon.clog->warn() << "osd." << m->get_orig_source().num()
<< " reported pg " << m->pgid
<< " not ready to merge; backing off pg_num decrease"