Skip to content

ceph: Filter out PGs that we can't reason about. - #16

Merged
baergj merged 2 commits into
mainfrom
sanitize-pgs
Oct 28, 2021
Merged

baergj merged 2 commits into
mainfrom
sanitize-pgs

Conversation

@baergj

@baergj baergj commented Oct 28, 2021

Copy link
Copy Markdown
Contributor

Addresses the remaining issues with some corner-case PG states in #14.

Comment thread ceph.go Resolved
In situations like this (CRUSH rule change, for example), we don't have
much, if any, control over the backfill that is incurred. Additionally,
it's not clear how to compute backfill reservations in this state. Thus,
we emit a warning and exclude affected PGs from consideration.
Like the case where the up and acting set lengths differ, we are unable
to reason about or act on PGs that have duplicate OSD IDs in either
their up or acting sets.
@baergj
baergj merged commit 19e69bd into main Oct 28, 2021
@baergj
baergj deleted the sanitize-pgs branch October 28, 2021 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants