risingwave_storage::hummock::compactor

Module shared_buffer_compact

source

Structsยง

Constantsยง

Functionsยง

  • Flush shared buffer to level0. Resulted SSTs are grouped by compaction group.
  • For compaction from shared buffer to level 0, this is the only function gets called.
  • generate_splits ๐Ÿ”’
    Based on the incoming payload and opts, calculate the sharding method and sstable size of shared buffer compaction.
  • Merge multiple batches into a larger one