aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/membership.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-04-05 20:42:46 +0200
committerAlex Auvolat <alex@adnab.me>2021-04-27 16:37:09 +0200
commit3e2e38c830b836c2862041f034cfd04f648efdf9 (patch)
tree57f4169351ef3a20050ae10883727fffd20e9b6f /src/rpc/membership.rs
parent2e53e31cdd1c6740a5af6b6d32e4f9b829678fcc (diff)
downloadgarage-3e2e38c830b836c2862041f034cfd04f648efdf9.tar.gz
garage-3e2e38c830b836c2862041f034cfd04f648efdf9.zip
Print stats
Diffstat (limited to 'src/rpc/membership.rs')
-rw-r--r--src/rpc/membership.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/membership.rs b/src/rpc/membership.rs
index 921ecb14..c9253bc2 100644
--- a/src/rpc/membership.rs
+++ b/src/rpc/membership.rs
@@ -652,7 +652,6 @@ impl System {
async fn update_status(self: &Arc<Self>, updaters: &Updaters, status: Status) {
if status.hash != self.status.borrow().hash {
- info!("Persisting new peer list");
let mut list = status.to_serializable_membership(&self);
@@ -669,6 +668,7 @@ impl System {
}
if list.len() > 0 {
+ info!("Persisting new peer list ({} peers)", list.len());
self.persist_status
.save_async(&list)
.await