Browse Source

etcdserver: log skipping initial election tick

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 7 năm trước cách đây
mục cha
commit
870138accb
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      etcdserver/server.go

+ 1 - 0
etcdserver/server.go

@@ -533,6 +533,7 @@ func (s *EtcdServer) adjustTicks() {
 	}
 
 	if !s.Cfg.InitialElectionTickAdvance {
+		plog.Infof("skipping initial election tick advance (election tick %d)", s.Cfg.ElectionTicks)
 		return
 	}