]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-objectstore-tool: fix import of post-split pg from pre-split ancestor 18229/head
authorSage Weil <sage@redhat.com>
Tue, 10 Oct 2017 22:02:56 +0000 (17:02 -0500)
committerSage Weil <sage@redhat.com>
Tue, 10 Oct 2017 22:02:56 +0000 (17:02 -0500)
commit6a91d20936a2639119d7776085fbdf6c8eadb5ca
tree2c4be18858bfb292d69e54a927143363bd420bbe
parent65b7543390c8ee2a797bc559a64c61e35dd77cf6
ceph-objectstore-tool: fix import of post-split pg from pre-split ancestor

If we export a PG, it later splits, and then we try to import a
post-split portion of it, we need to generate the PastIntervals
properly (instead of crashing).

Fixes: http://tracker.ceph.com/issues/21753
Signed-off-by: Sage Weil <sage@redhat.com>
src/tools/ceph_objectstore_tool.cc