From 6163af7ccbdb70bb0ee6700fed9a102e9b607b82 Mon Sep 17 00:00:00 2001 From: Ryan Leung Date: Wed, 11 Dec 2024 17:08:15 +0800 Subject: [PATCH] fix Signed-off-by: Ryan Leung --- server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server.go b/server/server.go index ddfd9e6b20e..e1edab39c6b 100644 --- a/server/server.go +++ b/server/server.go @@ -1654,7 +1654,7 @@ func (s *Server) campaignLeader() { log.Info("start to campaign PD leader", zap.String("campaign-leader-name", s.Name())) if err := s.member.CampaignLeader(s.ctx, s.cfg.LeaderLease); err != nil { if err.Error() == errs.ErrEtcdTxnConflict.Error() { - log.Info("campaign %PD leader meets error due to txn conflict, another PD/API server may campaign successfully", + log.Info("campaign PD leader meets error due to txn conflict, another PD/API server may campaign successfully", zap.String("campaign-leader-name", s.Name())) } else { log.Error("campaign PD leader meets error due to etcd error",