Maximum number of bytes in all compacted files. We avoid expanding the lower level file set of a compaction if it would make the total compaction cover more than this many bytes.
| 36 | // the lower level file set of a compaction if it would make the |
| 37 | // total compaction cover more than this many bytes. |
| 38 | static int64_t ExpandedCompactionByteSizeLimit(const Options* options) { |
| 39 | return 25 * TargetFileSize(options); |
| 40 | } |
| 41 | |
| 42 | static double MaxBytesForLevel(const Options* options, int level) { |
| 43 | // Note: the result for level zero is not really used since we set |
no test coverage detected