ceph-objectstore-tool: Fix message and make it debug only to stderr

Signed-off-by: David Zafman <dzafman@redhat.com>
This commit is contained in:
David Zafman 2015-03-24 15:12:31 -07:00
parent 923d53235a
commit f9b98c94e6

View File

@ -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);