Skip to content

Commit

Permalink
etcdserver: log skipping initial election tick
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
  • Loading branch information
gyuho committed Apr 23, 2018
1 parent 097a653 commit e66af56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions etcdserver/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@ func (s *EtcdServer) adjustTicks() {
}

if !s.Cfg.InitialElectionTickAdvance {
plog.Infof("skipping initial election tick advance (election tick %d)", s.Cfg.ElectionTicks)
return
}

Expand Down

0 comments on commit e66af56

Please sign in to comment.