Mutable access to the underlying Raft groups (for testing / bootstrap).
(&mut self)
| 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> { |
no outgoing calls