From: Sage Weil Date: Wed, 1 Jan 2014 01:21:49 +0000 (-0800) Subject: osd/ReplicatedPG: improve debug output from check_local X-Git-Tag: v0.75~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cae663af403af202df76ea4df84b43f919b4a541;p=ceph.git osd/ReplicatedPG: improve debug output from check_local This will help with #6685 Signed-off-by: Sage Weil --- diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index 93258209df05..34c35afcead6 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 {