Module shared_buffer_compact

Source

Structsยง

SharedBufferCompactRunner

Constantsยง

GC_DELETE_KEYS_FOR_FLUSH ๐Ÿ”’

Functionsยง

compact
Flush shared buffer to level0. Resulted SSTs are grouped by compaction group.
compact_shared_buffer ๐Ÿ”’
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_imms_in_memory
Merge multiple batches into a larger one