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

Method iter_mut

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

Mutable iteration over all partitions. Used by `compact()` and similar maintenance passes that apply per-partition without needing tenant routing.

(&mut self)

Source from the content-addressed store, hash-verified

129 /// similar maintenance passes that apply per-partition without
130 /// needing tenant routing.
131 pub fn iter_mut(&mut self) -> IterMut<'_, TenantId, CsrIndex> {
132 self.partitions.iter_mut()
133 }
134
135 /// Compact every partition. Mirrors `CsrIndex::compact` but across
136 /// the full set — maintenance handlers call this once per core.

Callers 15

split_nodeFunction · 0.80
delete_entryFunction · 0.80
set_next_indexMethod · 0.80
set_match_indexMethod · 0.80
observer_state_mutMethod · 0.80
decodeFunction · 0.80
build_decode_tableFunction · 0.80
calibrateMethod · 0.80
calibrateMethod · 0.80
dropMethod · 0.80
compact_allMethod · 0.80
enable_weightsMethod · 0.80

Calls

no outgoing calls