-
Notifications
You must be signed in to change notification settings - Fork 592
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: update tests to consider sliding window compaction
Now that sliding window compaction is the default, this updates several tests to accommodate. The general trend of the updated tests are: - Many tests expect that running housekeeping self compacts a single segment at a time. This isn't true with sliding window compaction. To accommodate, this commite updates the compaction configs to force a single segment compaction. - In some cases, similar to above, tests would repeatedly run housekeeping to ensure N segments would be self compacted. Instead, these tests are updated to run housekeeping once with an appropriate collectible offset. - Updated archival tests to mark compacted segments with the window-compacted bit.
- Loading branch information
Showing
5 changed files
with
61 additions
and
57 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
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