Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kraken: osd: pg log split does not rebuild index for parent or child #14048

Merged
merged 2 commits into from Apr 12, 2017

Conversation

asheplyakov
Copy link

When pg_log_t::split_out_child() runs it builds the list, which means the
old indexes are wrong (the point to bad memory), but index() will not
rebuild them because ever since b858e86
we won't rebuild them if they are already built.

Fix that by calling unindex() before the split.

Further, the new child log also needs to be indexed.  Fix that too.

Fixes: http://tracker.ceph.com/issues/18975
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 643ae42)
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit a6ead99)
@liewegas liewegas added this to the kraken milestone Mar 20, 2017
@smithfarm
Copy link
Contributor

@tchaikov This passed a rados suite at http://tracker.ceph.com/issues/19009#note-3 with one reproducible failure in rados/objectstore/objectstore.yaml that appears to be bluestore-related.

OK to merge?

@smithfarm smithfarm requested a review from tchaikov April 12, 2017 01:23
@smithfarm smithfarm merged commit 59c5511 into ceph:kraken Apr 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants