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

luminous: fsck: cid is improperly matched to oid #24705

Merged
merged 3 commits into from Nov 29, 2018

Conversation

smithfarm
Copy link
Contributor

This is used by bluestore fsck to ensure we're looking at the right
collection.  It needs to validate both that the pool id matches the
object (including the temp objects) and that the hash matches; we were
only checking the hash before.

Fixes: http://tracker.ceph.com/issues/32731
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 0bd2546)
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit cf4a4eb)
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 0c75020)
@smithfarm
Copy link
Contributor Author

@xiexingguo In the mimic backport of this fix, you asked to include the fix for http://tracker.ceph.com/issues/36099 but I did not include it here because it touches code that is not present in luminous.

@smithfarm smithfarm added this to the luminous milestone Oct 23, 2018
@smithfarm smithfarm added the core label Oct 23, 2018
Copy link
Contributor

@tchaikov tchaikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right, #19843 is not backported to luminous. probably, we don't need to do so. as bluestore was still experimental in luminous.

@yuriw
Copy link
Contributor

yuriw commented Nov 27, 2018

@yuriw yuriw merged commit 8f2e53a into ceph:luminous Nov 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants