diff options
author | Alex Auvolat <alex@adnab.me> | 2022-03-28 15:47:23 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-03-28 15:47:23 +0200 |
commit | 913f7754bbefa2899056b1af83d7789b01a4ba39 (patch) | |
tree | ce25e04d3b4d729c2fc82777287652e8d5ec71e3 /src/garage | |
parent | 42dde541261d7cd16e638915d6c913e4c829128a (diff) | |
download | garage-913f7754bbefa2899056b1af83d7789b01a4ba39.tar.gz garage-913f7754bbefa2899056b1af83d7789b01a4ba39.zip |
Add blocks in errored state to `garage stats`
Diffstat (limited to 'src/garage')
-rw-r--r-- | src/garage/admin.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/garage/admin.rs b/src/garage/admin.rs index f9ec1593..0b20bb20 100644 --- a/src/garage/admin.rs +++ b/src/garage/admin.rs @@ -728,6 +728,12 @@ impl AdminRpcHandler { self.garage.block_manager.resync_queue_len() ) .unwrap(); + writeln!( + &mut ret, + " blocks with resync errors: {}", + self.garage.block_manager.resync_errors_len() + ) + .unwrap(); ret } |