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

Method iter

nodedb-graph/src/sharded.rs:124–126  ·  view source on GitHub ↗

Iterate all (tenant, partition) pairs. Used for checkpointing, memory accounting, and administrative views that genuinely need to see every tenant's state.

(&self)

Source from the content-addressed store, hash-verified

122 /// memory accounting, and administrative views that genuinely
123 /// need to see every tenant's state.
124 pub fn iter(&self) -> Iter<'_, TenantId, CsrIndex> {
125 self.partitions.iter()
126 }
127
128 /// Mutable iteration over all partitions. Used by `compact()` and
129 /// similar maintenance passes that apply per-partition without

Callers 15

compute_histogramFunction · 0.45
cold_nodesMethod · 0.45
hot_node_countMethod · 0.45
reset_access_countsMethod · 0.45
compactMethod · 0.45
checkpoint_to_bytesMethod · 0.45
from_rkyv_zero_copyMethod · 0.45
from_snapshot_fieldsMethod · 0.45
enable_weightsMethod · 0.45
edge_weightMethod · 0.45

Calls

no outgoing calls