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

Method is_empty

nodedb-cluster/src/multi_raft/core.rs:63–65  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

61
62impl MultiRaftReady {
63 pub fn is_empty(&self) -> bool {
64 self.groups.iter().all(|(_gid, r)| r.is_empty())
65 }
66
67 /// Total committed entries across all groups.
68 pub fn total_committed(&self) -> usize {

Callers 14

applyMethod · 0.45
sweep_onceMethod · 0.45
issue_leaf_for_sansFunction · 0.45
do_tickMethod · 0.45
handle_rpcMethod · 0.45
sweep_onceMethod · 0.45
compute_load_based_planFunction · 0.45
send_chunkedFunction · 0.45
commitFunction · 0.45
tickMethod · 0.45
joinFunction · 0.45

Calls 2

allMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected