Skip to main content

renew

Function renew 

Source
pub fn renew<S: Store>(
    j: &mut Journal<S>,
    me: &OwnerId,
    now: Timestamp,
    boot_at: Timestamp,
) -> Result<usize, JournalError>
Expand description

One renewal: catch up, then renew what me holds mid-flight. An error catching up leaves the handle to be dropped and opened again.