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
+6 -2
View File
@@ -450,8 +450,12 @@ impl<'a> BucketHelper<'a> {
#[cfg(feature = "k2v")]
{
// TODO: not only current
let node_id_vec = self.0.system.cluster_layout().current().node_ids().to_vec();
let node_id_vec = self
.0
.system
.cluster_layout()
.all_nongateway_nodes()
.into_owned();
let k2vindexes = self
.0
.k2v