]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-objectstore-tool: bring past_intervals up to date on import
authorSage Weil <sage@redhat.com>
Fri, 6 Oct 2017 19:21:43 +0000 (14:21 -0500)
committerSage Weil <sage@redhat.com>
Fri, 6 Oct 2017 19:26:56 +0000 (14:26 -0500)
commit2347ecb9614b0cd4cd9eae1d67b03119cc7ad18e
tree66ae196f78a166120a8e8c77f1d2c61d3b2a6bc7
parent366a3d598efd07e0f4f1c24637d1ceda5febec2e
ceph-objectstore-tool: bring past_intervals up to date on import

We can't blinding fast-forward the pg epoch to the latest map without
also updating the pg history and PastIntervals.  Do that at import time.

Signed-off-by: Sage Weil <sage@redhat.com>
src/tools/ceph_objectstore_tool.cc