pub struct Status {
pub head_seq: Option<u64>,
pub home_head_seq: Option<u64>,
pub refs_verified: usize,
pub refs_pending: usize,
pub unverified_entries: u64,
pub gap: bool,
pub halted: Option<(u64, String)>,
pub last_error: Option<String>,
}Expand description
Where replication stands, as /api/view reports it on a seed.
Fields§
§head_seq: Option<u64>The seq of the last entry this seed holds; None while empty.
home_head_seq: Option<u64>The highest seq the home has served this seed. A statement about the last contact, not about now: the home may have moved since.
refs_verified: usizeRefs the view names that the bare repositories here hold at the same oid.
refs_pending: usizeRefs the view names that are not held here at that oid yet, or that no repository could hold.
unverified_entries: u64Entries replicated whose author key the home’s table does not list. Never silently zero: this is the reader’s warning.
gap: boolSet after a 409 log_evicted, and never cleared: this seed’s copy
cannot continue the home’s chain, so it is a copy and not a
witness.
halted: Option<(u64, String)>The seq replication halted at and why, once it has.
last_error: Option<String>The last round’s transient failure, if the last round failed.