diff --git a/components/butterfly/src/server.rs b/components/butterfly/src/server.rs index 91a6e4266c3..7824227df46 100644 --- a/components/butterfly/src/server.rs +++ b/components/butterfly/src/server.rs @@ -731,12 +731,14 @@ impl Server { } } } else if health != Health::Alive { - trace!("member incarnation is {}. my incarnation is {}", member.incarnation, self.myself.lock_smr().incarnation()); + trace!("member incarnation is {}. my incarnation is {}", + member.incarnation, + self.myself.lock_smr().incarnation()); health = Health::Alive; if member.incarnation >= self.myself.lock_smr().incarnation() { self.myself - .lock_smw() - .refute_incarnation(member.incarnation); + .lock_smw() + .refute_incarnation(member.incarnation); } } @@ -1166,7 +1168,8 @@ impl Server { election.term, Some(u64::MAX)); } else { - debug!("Received New Term election and I was not the previous leader. Term: {}", + debug!("Received New Term election and I was not the previous leader. \ + Term: {}", election.term); self.election_store .remove_rsw(election.key(), election.id());