summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zafman <dzafman@redhat.com>2015-03-24 15:12:31 -0700
committerDavid Zafman <dzafman@redhat.com>2015-03-26 16:25:31 -0700
commitf9b98c94e65fe90c2ccac25bd6cbc376b93c7b0a (patch)
treee76943a8145c501d030bf466a41bb72c701266d4
parent923d53235a566bc3e8fd1cb959238664ca179d0a (diff)
downloadceph-f9b98c94e65fe90c2ccac25bd6cbc376b93c7b0a.tar.gz
ceph-objectstore-tool: Fix message and make it debug only to stderr
Signed-off-by: David Zafman <dzafman@redhat.com>
-rw-r--r--src/tools/ceph_objectstore_tool.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/ceph_objectstore_tool.cc b/src/tools/ceph_objectstore_tool.cc
index cd3efd4f9e0..c2944293efd 100644
--- a/src/tools/ceph_objectstore_tool.cc
+++ b/src/tools/ceph_objectstore_tool.cc
@@ -1857,7 +1857,8 @@ int do_import(ObjectStore *store, OSDSuperblock& sb)
if (ret) return ret;
// done, clear removal flag
- cout << "done, clearing removal flag flag" << std::endl;
+ if (debug)
+ cerr << "done, clearing removal flag" << std::endl;
set<string> remove;
remove.insert("_remove");
t->omap_rmkeys(coll, pgid.make_pgmeta_oid(), remove);