diff options
author | Alex Auvolat <alex@adnab.me> | 2023-12-08 11:24:23 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-12-08 11:24:23 +0100 |
commit | 7f2541101f15614c79020b35d3d7dab767c32676 (patch) | |
tree | de4cd319331a0f427ddebb5b0544a3861e8f315c /src/garage/admin/mod.rs | |
parent | 91b874c4efa40e64663368369a712e0a5a389e53 (diff) | |
download | garage-7f2541101f15614c79020b35d3d7dab767c32676.tar.gz garage-7f2541101f15614c79020b35d3d7dab767c32676.zip |
cli: improvements to the layout commands when multiple layouts are live
Diffstat (limited to 'src/garage/admin/mod.rs')
-rw-r--r-- | src/garage/admin/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/garage/admin/mod.rs b/src/garage/admin/mod.rs index da4226cf..de7851e1 100644 --- a/src/garage/admin/mod.rs +++ b/src/garage/admin/mod.rs @@ -274,8 +274,7 @@ impl AdminRpcHandler { fn gather_cluster_stats(&self) -> String { let mut ret = String::new(); - // Gather storage node and free space statistics - // TODO: not only layout.current() ??? + // Gather storage node and free space statistics for current nodes let layout = &self.garage.system.cluster_layout(); let mut node_partition_count = HashMap::<Uuid, u64>::new(); for short_id in layout.current().ring_assignment_data.iter() { |