log_store::kafka::index::iterator

Function build_region_wal_index_iterator

Source
pub fn build_region_wal_index_iterator(
    start_entry_id: EntryId,
    end_entry_id: EntryId,
    region_indexes: Option<(BTreeSet<EntryId>, EntryId)>,
    max_batch_bytes: usize,
    min_window_size: usize,
) -> Option<Box<dyn RegionWalIndexIterator>>
Expand description

Builds RegionWalIndexIterator.

Returns None means there are no entries to replay.