diff options
Diffstat (limited to 'src/garage')
-rw-r--r-- | src/garage/admin_rpc.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/garage/admin_rpc.rs b/src/garage/admin_rpc.rs index a75c9013..512e00dd 100644 --- a/src/garage/admin_rpc.rs +++ b/src/garage/admin_rpc.rs @@ -425,6 +425,12 @@ impl AdminRpcHandler { writeln!(&mut ret, "\nBlock manager stats:").unwrap(); writeln!( &mut ret, + " number of blocks: {}", + self.garage.block_manager.rc.len() + ) + .unwrap(); + writeln!( + &mut ret, " resync queue length: {}", self.garage.block_manager.resync_queue.len() ) @@ -451,6 +457,18 @@ impl AdminRpcHandler { t.data.merkle_updater.todo.len() ) .unwrap(); + writeln!( + to, + " Merkle tree size: {}", + t.data.merkle_updater.merkle_tree.len() + ) + .unwrap(); + writeln!( + to, + " GC todo queue length: {}", + t.data.gc_todo.len() + ) + .unwrap(); Ok(()) } } |