Skip to content

Gracefully handle stale mappings. - #17

Merged
baergj merged 4 commits into
mainfrom
ignore-stale-upmaps
Oct 28, 2021
Merged

baergj merged 4 commits into
mainfrom
ignore-stale-upmaps

Conversation

@baergj

@baergj baergj commented Oct 28, 2021

Copy link
Copy Markdown
Contributor

Addresses #10.

It's becoming increasingly common in pgremapper to need the results from
a given command multiple times; let's just cache all of the general
commands now to avoid wasteful re-running of them.
We've seen multiple cases of Ceph not cleaning up ineffectual mappings,
and this can trip us up when validating preposed remappings. Set them
aside so that they will be dropped if there are any other changes to
make to that PG, and call them out during dry-run output.
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