From cae663af403af202df76ea4df84b43f919b4a541 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 31 Dec 2013 17:21:49 -0800 Subject: [PATCH] osd/ReplicatedPG: improve debug output from check_local This will help with #6685 Signed-off-by: Sage Weil --- src/osd/ReplicatedPG.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index 93258209df05c..34c35afcead65 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -9126,8 +9126,8 @@ void ReplicatedPG::check_local() struct stat st; int r = osd->store->stat(coll, p->soid, &st); if (r != -ENOENT) { - dout(10) << "Object " << p->soid << " exists, but should have been " - << "deleted" << dendl; + derr << __func__ << " " << p->soid << " exists, but should have been " + << "deleted" << dendl; assert(0 == "erroneously present object"); } } else { -- 2.39.5