pub(crate) async fn replay_entry(
provider: &Provider,
region_id: RegionId,
version_control: &Arc<VersionControl>,
entry: WalEntry,
last_entry_id: EntryId,
) -> Result<usize>Expand description
Writes one WAL entry into the mutable memtable of version_control, keeping the
sequences the WAL recorded, and returns the number of rows. last_entry_id is the
largest entry id replayed so far, this one included.