]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/ReplicatedPG: improve debug output from check_local
authorSage Weil <sage@inktank.com>
Wed, 1 Jan 2014 01:21:49 +0000 (17:21 -0800)
committerSage Weil <sage@inktank.com>
Wed, 1 Jan 2014 01:21:49 +0000 (17:21 -0800)
This will help with #6685

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/ReplicatedPG.cc

index 93258209df05cca7a7d81f4a00e72cda5fc5f05c..34c35afcead6529c25539d335e0398dae3c27f1d 100644 (file)
@@ -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 {