SwayDB
SwayDB copied to clipboard
File sizes should be consistent
map files sizes (mapSize) are consistent but segment file sizes (minSegmentSize) are inconsistent because compaction tries it best to avoid IO & JVM heap allocation which requires consistent file sizes to be ignored sometimes.
There might a need of a configuration which favour consistent file sizes which is helpful for even distribution when using multiple disks.