]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph_objectstore_tool: Fixes to make import work again
authorDavid Zafman <dzafman@redhat.com>
Wed, 12 Nov 2014 23:22:04 +0000 (15:22 -0800)
committerSage Weil <sage@redhat.com>
Thu, 13 Nov 2014 00:00:14 +0000 (16:00 -0800)
commit5ce09198bf475e5c3a2df26232fa04ba9912b103
tree3bce1610036ac55d265adc0b29f020fef3afc55f
parent21fc9b5ff1c4eb650d4f5f5c7be416fdbea2faba
ceph_objectstore_tool: Fixes to make import work again

The is_pg() call is now true even for pgs pending removal, fix broken
    finish_remove_pgs() by removing is_pg() check.
Need to add create_collection() to the initial transaction on import

Fixes: #10090
Signed-off-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
src/tools/ceph_objectstore_tool.cc