aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-04-05 20:42:46 +0200
committerAlex Auvolat <alex@adnab.me>2021-04-05 20:42:46 +0200
commitc5d8dc7d6d32cfd0ff46b2d0ee5df8c532580f86 (patch)
tree57f4169351ef3a20050ae10883727fffd20e9b6f /src
parentfa11cb746af0107b40ae23e8f6de9e089bf89a31 (diff)
downloadgarage-c5d8dc7d6d32cfd0ff46b2d0ee5df8c532580f86.tar.gz
garage-c5d8dc7d6d32cfd0ff46b2d0ee5df8c532580f86.zip
Print stats
Diffstat (limited to 'src')
-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