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

osd: fix scrub start hobject #7467

Merged
merged 1 commit into from Feb 2, 2016
Merged

Conversation

liewegas
Copy link
Member

@liewegas liewegas commented Feb 1, 2016

This avoids tripping over bluestore's assert that the object start be either MIN or fall within
the PG interval.

This was changed in 05d79fa but it needs
to be more precise to avoid breaking BlueStore's assertions (that the
start position is within the collection range).

Signed-off-by: Sage Weil <sage@redhat.com>
@dzafman
Copy link
Contributor

dzafman commented Feb 2, 2016

@liewegas The only different I see is that hash is set to m_seed instead of 0. And the snap is set to CEPH_NOSNAP (-2) instead of 0. Does the snap change make any difference?

@liewegas
Copy link
Member Author

liewegas commented Feb 2, 2016 via email

liewegas added a commit that referenced this pull request Feb 2, 2016
@liewegas liewegas merged commit d3925a5 into ceph:jewel Feb 2, 2016
@liewegas liewegas deleted the wip-scrub-start branch February 2, 2016 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants