Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
metamorphic: use 12 as the minimum target file size
Before the recent compaction cleanup, the output table writer was initialized lazily, which means that until the first key was written the estimated size was 0. So even with a tiny target size, we will get at least one point key and any associated spans. Now the table writer is initialized up front and the estimated size of an empty table writer is 8. When the target file size is less than that, we try to split the table as soon as possible (and emit just a small piece of a span in many cases). These many tiny tables slow down the tests a lot, to the point of timing out certain operations. This change sets the minimum target file size in the metamorphic tests to 12. Fixes #3594 Fixes #3595
- Loading branch information