Skip to main content

remote_metadata_resume_cursor

Function remote_metadata_resume_cursor 

Source
pub const fn remote_metadata_resume_cursor(committed: i64) -> Option<i64>
Expand description

Select the inclusive metadata-log cursor immediately after a snapshot’s committed offset.

-1 is the only no-event sentinel and maps to a full replay from zero. Every real committed offset advances by exactly one. Values below the sentinel and a committed i64::MAX fail closed instead of producing a negative or wrapped cursor.