You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### What is the issue
This test doesn't disable compaction and doesn't retain a reference to
the sstables, so it can run with an unexpected amount of sstables and
also race with the removal of the sstables backing the
ReducingKeyIterator, which causes a variety of memory safety issues.
This test fails approximately 1/30 times when multiplexed in CI.
### What does this PR fix and why was it fixed
This fixes several issues. First, it disables compaction after the
schema is created. Second, it fulfills the contract of
ReducingKeyIteratorTest by taking references to the sstables, which
should be superfluous with compactions disabled, but I prefer testing
the contract. Third, it verifies that nothing is changing the number of
sstables in the system (which would have caught the previous compaction
misconfiguration).
0 commit comments