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 758203b commit 870138a
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 @@ -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
}

Expand Down

0 comments on commit 870138a

Please sign in to comment.