Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
metamorphic: tweak L0StopWritesThreshold in case of small files
Small sstables lead to slower compactions as more time is spent in compaction picking and opening/closing files and iterators than iterating over sstables. A combination of a tiny target file size and a low L0 stop writes threshold can cause a deep write stall that makes some operations time out. This change tweaks L0StopWritesThreshold to let us wait longer in those instances without timing out. Partly seen in #3947.
- Loading branch information