pub type AuthorityError = MutationAuthorityError<ReplayReducerError>;Expand description
Concrete authority error type used by the dispatch loop.
Aliased Type§
pub enum AuthorityError {
Validation(MutationValidationError),
Append(WalWriterError),
PartialDurability {
sequence: u64,
flush_error: WalWriterError,
},
Apply {
sequence: u64,
source: ReplayReducerError,
},
}Variants§
Validation(MutationValidationError)
Validation stage failure.
Append(WalWriterError)
WAL append stage failure.
PartialDurability
Append succeeded but flush failed. The event MAY be durable on restart (OS page cache) but fsync was not confirmed.
Fields
§
flush_error: WalWriterErrorUnderlying flush error.
Apply
Projection apply stage failure after append.
Fields
§
source: ReplayReducerErrorUnderlying projection apply error.