Skip to main content

reissue

Function reissue 

Source
pub fn reissue(
    conn: &Connection,
    signer: &mut Signer<'_>,
    ring: &KeyRing,
    collection: &str,
    now_ms: i64,
) -> Result<usize, SyncError>
Expand description

Writes again, at the collection’s current key epoch, what this machine wrote at an older epoch beyond the end its removal-of-another entry named (those writes are refused by the others): each record whose current state is one of them is opened with the key of its epoch and sealed with the current one. Returns how many were re-issued.