Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ replica
Function
replica
nodedb-array/src/sync/gc.rs:157–159 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
155
use crate::types::coord::value::CoordValue;
156
157
fn replica() -> ReplicaId {
158
ReplicaId::new(1)
159
}
160
161
fn hlc(ms: u64) -> Hlc {
162
Hlc::new(ms, 0, replica()).unwrap()
Callers
5
hlc
Function · 0.70
gc_collapses_below_min_ack
Function · 0.70
gc_skips_arrays_with_no_live_state
Function · 0.70
gc_propagates_snapshot_error
Function · 0.70
gc_min_ack_with_two_replicas
Function · 0.70
Calls
no outgoing calls
Tested by
4
gc_collapses_below_min_ack
Function · 0.56
gc_skips_arrays_with_no_live_state
Function · 0.56
gc_propagates_snapshot_error
Function · 0.56
gc_min_ack_with_two_replicas
Function · 0.56