risingwave_storage::hummock::test_utils

Function gen_test_sstable_with_range_tombstone

source
pub async fn gen_test_sstable_with_range_tombstone(
    opts: SstableBuilderOptions,
    object_id: HummockSstableObjectId,
    kv_iter: impl Iterator<Item = (FullKey<Vec<u8>>, HummockValue<Vec<u8>>)>,
    sstable_store: SstableStoreRef,
) -> SstableInfo
Expand description

Generate a test table from the given kv_iter and put the kv value to sstable_store