From e387cbc45037db78db5dfbb01483b8d76e1c276f Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 2 May 2019 11:39:31 -0500 Subject: [PATCH] os/bluestore: be verbose about objects that existing on rmcoll This is always a bug (OSD doesn't try to remove a collection unless it thinks it is empty), and not seeing it at default debug levels makes it hard to track down. Signed-off-by: Sage Weil --- src/os/bluestore/BlueStore.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index a558677f682..e1149ed33a2 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -13295,8 +13295,8 @@ int BlueStore::_remove_collection(TransContext *txc, const coll_t &cid, ceph_assert((*c)->exists); if ((*c)->onode_map.map_any([&](OnodeRef o) { if (o->exists) { - dout(10) << __func__ << " " << o->oid << " " << o - << " exists in onode_map" << dendl; + dout(1) << __func__ << " " << o->oid << " " << o + << " exists in onode_map" << dendl; return true; } ++nonexistent_count; @@ -13322,10 +13322,10 @@ int BlueStore::_remove_collection(TransContext *txc, const coll_t &cid, auto onode = (*c)->onode_map.lookup(*it); exists = !onode || onode->exists; if (exists) { - dout(10) << __func__ << " " << *it - << " exists in db, " - << (!onode ? "not present in ram" : "present in ram") - << dendl; + dout(1) << __func__ << " " << *it + << " exists in db, " + << (!onode ? "not present in ram" : "present in ram") + << dendl; } } if (!exists) { -- 2.39.5