fn generate_splits(
payload: &Vec<ImmutableMemtable>,
existing_table_ids: &HashSet<TableId>,
storage_opts: &StorageOpts,
) -> (Vec<KeyRange>, u64, BTreeMap<TableId, u32>)Expand description
Based on the incoming payload and opts, calculate the sharding method and sstable size of shared buffer compaction.