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

Try to deflake unit test RoundRobinSubcompactionsAgainstPressureToken #13254

Closed
wants to merge 3 commits into from

Conversation

cbi42
Copy link
Member

@cbi42 cbi42 commented Dec 27, 2024

Summary: unit test RoundRobinSubcompactionsAgainstPressureToken.PressureTokenTest has been flaky. num_planned_subcompactions can be 1 for two reasons: compactions not having enough input files or that there were not enough bg threads. This PR updates the test to try to trigger a larger compaction for subcompactions, and added a callback to verify compactions have enough input files.

Test plan: monitor future failure.

db/db_compaction_test.cc Outdated Show resolved Hide resolved
db/db_compaction_test.cc Outdated Show resolved Hide resolved
Copy link
Contributor

@hx235 hx235 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with some comments

@cbi42 cbi42 force-pushed the roundrobin-flaky branch from 514d27c to bb3c65a Compare January 2, 2025 18:11
@facebook-github-bot
Copy link
Contributor

@cbi42 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@cbi42 merged this pull request in d2db80c.

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.

3 participants