pub(crate) async fn persist_state<S: StateStore, const IS_REPLICATED: bool>(
epoch: EpochPair,
table: &mut StateTableInner<S, BasicSerde, IS_REPLICATED>,
is_finished: bool,
current_pos: &Option<OwnedRow>,
row_count: u64,
old_state: &mut Option<Vec<Datum>>,
current_state: &mut [Datum],
) -> StreamExecutorResult<()>Expand description
Schema
| vnode | pk | backfill_finished | row_count |
For current_pos and old_pos are just pk of upstream.
They should be strictly increasing.