Skip to content

Commit

Permalink
Merge pull request #18507 from hjwsm1989/skip-generation-object
Browse files Browse the repository at this point in the history
ceph-objectstore-tool: skip object with generated version

Reviewed-by: David Zafman <dzafman@redhat.com>
  • Loading branch information
tchaikov committed Oct 30, 2017
2 parents 12df4aa + ee2948b commit cabd93e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/ceph_objectstore_tool.cc
Expand Up @@ -629,7 +629,7 @@ int ObjectStoreTool::export_files(ObjectStore *store, coll_t coll)
i != objects.end();
++i) {
assert(!i->hobj.is_meta());
if (i->is_pgmeta() || i->hobj.is_temp()) {
if (i->is_pgmeta() || i->hobj.is_temp() || !i->is_no_gen()) {
continue;
}
r = export_file(store, coll, *i);
Expand Down

0 comments on commit cabd93e

Please sign in to comment.