Skip to main content

replay_into

Function replay_into 

Source
pub fn replay_into(store: &Store, host: &mut Host) -> Result<()>
Expand description

Fold a stored log into the authority’s state, checking as it goes that replay reproduces the revs the rows claim.

§Errors

A row that will not decode, will not fold, or whose rev disagrees with what replaying produced. All three are hard startup errors rather than skipped rows: a log this process cannot reproduce is one it must not serve.