-
Notifications
You must be signed in to change notification settings - Fork 630
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improve compaction job state management (#3519)
* Rename compaction 'pre queue' to 'block queue' * Minor refactoring of compaction planning, a few unit tests * Verify the db and in-memory states match * Improve consistency of compaction job status updates, add tests * Prioritize compaction level over expiry * Simplify state updates for compaction job polling * Move a few constants to config * Add test for handling compaction failures * Restore compaction metrics * Remove unused functions, error return value * Improve logging, naming, add a few comments * Lock all segments when replacing source blocks with compacted blocks * Keep cancelled jobs in the queue / db
- Loading branch information
Showing
19 changed files
with
1,189 additions
and
511 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.