Skip to content

Use SpecialSkipListFactory in RecalculateScoreAfterPicking#6125

Closed
pdillinger wants to merge 1 commit intofacebook:masterfrom
pdillinger:recalculate-score-after-picking
Closed

Use SpecialSkipListFactory in RecalculateScoreAfterPicking#6125
pdillinger wants to merge 1 commit intofacebook:masterfrom
pdillinger:recalculate-score-after-picking

Conversation

@pdillinger
Copy link
Copy Markdown
Contributor

@pdillinger pdillinger commented Dec 5, 2019

Summary: Test DBTestUniversalCompaction.RecalculateScoreAfterPicking was
flaky on ARM, so it now uses SpecialSkipListFactory (like other tests)
for predictable memtable flushes.

Fixes #5736

Test Plan: while ./db_universal_compaction_test; do :; done # for a
while on ARM and on Intel (both Linux)

Summary: Test DBTestUniversalCompaction.RecalculateScoreAfterPicking was
flaky on ARM, so it now uses SpecialSkipListFactory (like other tests)
for predictable memtable flushes.

Test Plan: while ./db_universal_compaction_test; do :; done # for a
while on ARM and on Intel (both Linux)
@pdillinger pdillinger force-pushed the recalculate-score-after-picking branch from ff23efb to 81cd62b Compare December 6, 2019 22:31
Copy link
Copy Markdown
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

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

@pdillinger pdillinger changed the title Use manual flushes in RecalculateScoreAfterPicking Use SpecialSkipListFactory in RecalculateScoreAfterPicking Dec 6, 2019
Copy link
Copy Markdown
Contributor

@ajkr ajkr left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for addressing the comment. I think this way should lead to deterministic flushing decisions, in addition to the other benefits mentioned.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@pdillinger merged this pull request in 3a6d943.

wolfkdy pushed a commit to wolfkdy/rocksdb that referenced this pull request Dec 22, 2019
…6125)

Summary:
Test DBTestUniversalCompaction.RecalculateScoreAfterPicking was
flaky on ARM, so it now uses SpecialSkipListFactory (like other tests)
for predictable memtable flushes.

Fixes facebook#5736
Pull Request resolved: facebook#6125

Test Plan:
while ./db_universal_compaction_test; do :; done # for a
while on ARM and on Intel (both Linux)

Differential Revision: D18864821

Pulled By: pdillinger

fbshipit-source-id: 2f3ca0ea66ce420dcd6d41b0ec12377112a5a79f
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.

DBTestUniversalCompaction.RecalculateScoreAfterPicking (db_universal_compaction_test) sometimes fails on ARM

3 participants