layout: refactoring of all_nodes

This commit is contained in:
Alex Auvolat
2023-11-14 13:06:16 +01:00
parent 8e292e06b3
commit 1aab1f4e68
7 changed files with 44 additions and 27 deletions
+1 -1
View File
@@ -609,7 +609,7 @@ impl System {
while !*stop_signal.borrow() {
let not_configured = self.cluster_layout().check().is_err();
let no_peers = self.fullmesh.get_peer_list().len() < self.replication_factor;
let expected_n_nodes = self.cluster_layout().current().num_nodes();
let expected_n_nodes = self.cluster_layout().all_nodes().len();
let bad_peers = self
.fullmesh
.get_peer_list()