From: Bill Scales Date: Fri, 21 Nov 2025 10:25:48 +0000 (+0000) Subject: osd: Increase log level for listing missing list X-Git-Tag: testing/wip-vshankar-testing-20260213.071255~7^2~2^2~8^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c0c02d747a7ce4fdd5c610828eb67af72f88e831;p=ceph-ci.git osd: Increase log level for listing missing list Logging the entire contents of a missing list can generate a 1M character log line when there are 8000 missing objects in a PG. Other places in the code logging the missing list use debug level 25 which is not enabled by default in teuthology tests. Signed-off-by: Bill Scales --- diff --git a/src/osd/PrimaryLogPG.cc b/src/osd/PrimaryLogPG.cc index 4f28cbbc6e1..79a1f686bc6 100644 --- a/src/osd/PrimaryLogPG.cc +++ b/src/osd/PrimaryLogPG.cc @@ -13805,7 +13805,9 @@ uint64_t PrimaryLogPG::recover_replicas(uint64_t max, ThreadPool::TPHandle &hand size_t m_sz = pm->second.num_missing(); dout(10) << " peer osd." << peer << " missing " << m_sz << " objects." << dendl; - dout(20) << " peer osd." << peer << " missing " << pm->second.get_items() << dendl; + // This log statement is verbose - a PG with 8000 missing objects can + // generate 1M+ character log entries and several GB of log output per recovery + dout(25) << " peer osd." << peer << " missing " << pm->second.get_items() << dendl; // oldest first! const pg_missing_t &m(pm->second);