Skip to content

Commit

Permalink
HACK ceph-objectstore-tool debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
liewegas committed Oct 3, 2017
1 parent ebb70e7 commit 3af0644
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tools/ceph_objectstore_tool.cc
Expand Up @@ -468,6 +468,7 @@ int write_pg(ObjectStore::Transaction &t, epoch_t epoch, pg_info_t &info,
divergent_priors_t &divergent,
pg_missing_t &missing)
{
cout << __func__ << " info " << info << std::endl;
int ret = write_info(t, epoch, info, past_intervals);
if (ret)
return ret;
Expand Down Expand Up @@ -754,7 +755,7 @@ int ObjectStoreTool::do_export(ObjectStore *fs, coll_t coll, spg_t pgid,
PGLog::IndexedLog log;
pg_missing_t missing;

cerr << "Exporting " << pgid << std::endl;
cerr << "Exporting " << pgid << " info " << info << std::endl;

int ret = get_log(fs, struct_ver, coll, pgid, info, log, missing);
if (ret > 0)
Expand Down

0 comments on commit 3af0644

Please sign in to comment.