aboutsummaryrefslogtreecommitdiff
path: root/src/garage
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-10-28 14:32:55 +0200
committerAlex Auvolat <alex@adnab.me>2021-11-08 15:47:47 +0100
commit74a7a550eb5c076d21185d44a1bdb60577a47779 (patch)
treeddf699de9dce5d7d6f95c1a8ca94eb24fb4d14e5 /src/garage
parentcc255d46cdde707e6dec3e9a12ee4cd1ea484046 (diff)
downloadgarage-74a7a550eb5c076d21185d44a1bdb60577a47779.tar.gz
garage-74a7a550eb5c076d21185d44a1bdb60577a47779.zip
Safety: never voluntarily delete block in 10min interval after RC reaches zero
Diffstat (limited to 'src/garage')
-rw-r--r--src/garage/admin.rs2
-rw-r--r--src/garage/cli/structs.rs3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/garage/admin.rs b/src/garage/admin.rs
index b5fc9a7e..c3a83d02 100644
--- a/src/garage/admin.rs
+++ b/src/garage/admin.rs
@@ -446,7 +446,7 @@ impl AdminRpcHandler {
if opt.detailed {
writeln!(
&mut ret,
- " number of blocks: {}",
+ " number of RC entries (~= number of blocks): {}",
self.garage.block_manager.rc_len()
)
.unwrap();
diff --git a/src/garage/cli/structs.rs b/src/garage/cli/structs.rs
index 0df6ef87..b930d8a8 100644
--- a/src/garage/cli/structs.rs
+++ b/src/garage/cli/structs.rs
@@ -8,8 +8,7 @@ pub enum Command {
#[structopt(name = "server")]
Server,
- /// Print identifier (public key) of this garage node.
- /// Generates a new keypair if necessary.
+ /// Print identifier (public key) of this Garage node
#[structopt(name = "node-id")]
NodeId(NodeIdOpt),