MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / min_ack_hlc

Method min_ack_hlc

nodedb-array/src/sync/ack.rs:55–57  ·  view source on GitHub ↗

Return the minimum ack HLC across all tracked replicas. Returns `None` if no replicas are tracked (GC must not proceed without knowing every peer's progress).

(&self)

Source from the content-addressed store, hash-verified

53 /// Returns `None` if no replicas are tracked (GC must not proceed without
54 /// knowing every peer's progress).
55 pub fn min_ack_hlc(&self) -> Option<Hlc> {
56 self.acks.values().copied().min()
57 }
58
59 /// Iterate over all replica IDs currently tracked.
60 pub fn replicas(&self) -> impl Iterator<Item = ReplicaId> + '_ {

Callers 1

collapse_belowFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected