pub fn local_append_coordinates(
expected_base: i64,
supplied_base: i64,
last_offset_delta: i32,
) -> Option<(i64, i64)>Expand description
Admit one batch at the expected logical frontier or beyond it, and compute its inclusive last offset and exclusive successor without signed overflow.
A base past the frontier is a hole in the offsets, which a compacted log has and a follower of one replicates; a base below it is a duplicate.