mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
mon/OSDMonitor: only log PG merge backoff for crimson pools
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>
This commit is contained in:
parent
3c5295cccb
commit
34cf71d143
@ -4105,7 +4105,7 @@ bool OSDMonitor::prepare_pg_ready_to_merge(MonOpRequestRef op)
|
||||
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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user