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

Method groups_mut

nodedb-cluster/src/multi_raft/core.rs:196–198  ·  view source on GitHub ↗

Mutable access to the underlying Raft groups (for testing / bootstrap).

(&mut self)

Source from the content-addressed store, hash-verified

194
195 /// Mutable access to the underlying Raft groups (for testing / bootstrap).
196 pub fn groups_mut(&mut self) -> &mut HashMap<u64, RaftNode<RedbLogStorage>> {
197 &mut self.groups
198 }
199
200 /// Snapshot of all Raft group states for observability.
201 pub fn group_statuses(&self) -> Vec<GroupStatus> {

Calls

no outgoing calls

Tested by 2