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

[NO COMMIT] Debug windows CI failure #13143

Closed

Conversation

pdillinger
Copy link
Contributor

No description provided.

Summary: Follow-up to facebook#13114

This change turned out to be smaller than expected because
`RegisterRecordSeqnoTimeWorker()` and `RecordSeqnoToTimeMapping()` are
already robust to things like frequently switching between preserve/preclude
durations e.g. with new and dropped column families, based on work from
 facebook#11920, facebook#11929, and facebook#12253. Mostly, `options_mutex_` prevents races
in applying the options changes, and smart capacity enforcement in
`SeqnoToTimeMapping` means it doesn't really matter if the periodic task
wakes up too often by being re-scheduled repeatedly.

Functional changes needed other than marking mutable:
* Update periodic task registration (as needed) from SetOptions
* Install SuperVersion(s) with updated mapping when the registration
  function itself updates the mapping.

Test Plan: updated tests in tiered_compaction_test to parametrically
use dynamic configuration changes (or DB restarts) when changing operating
parameters such as these.
@pdillinger pdillinger closed this Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants