Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
osd/osd_types: fix pg_t::contains() to check pool id too
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>
- Loading branch information
Showing
2 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters