pub(crate) async fn replay_memtable<F>(
provider: &Provider,
wal_entry_reader: Box<dyn WalEntryReader>,
region_id: RegionId,
flushed_entry_id: EntryId,
version_control: &Arc<VersionControl>,
allow_stale_entries: bool,
on_region_opened: F,
) -> Result<EntryId>
Expand description
Replays the mutations from WAL and inserts mutations to memtable of given region.