Skip to main content

minimum_pinned_seq

Function minimum_pinned_seq 

Source
pub fn minimum_pinned_seq(db: &Db) -> Option<u64>
Expand description

The oldest sequence any LIVE branch still needs. None when nothing is pinned, which is the only state in which history may be discarded freely.

Merged and abandoned branches do not pin: a merged branch has already been replayed into the destination as new writes, and an abandoned one has said in the registry that it will never be reconciled. Neither will ever look at its base again.