Skip to content

Commit

Permalink
Merge pull request #10026 from gyuho/read-index
Browse files Browse the repository at this point in the history
etcdserver: clarify read index wait timeout warnings
  • Loading branch information
hexfusion authored Aug 25, 2018
2 parents 66c2665 + 3871176 commit 24ee22a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etcdserver/v3_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -693,9 +693,9 @@ func (s *EtcdServer) linearizableReadLoop() {
}
case <-time.After(s.Cfg.ReqTimeout()):
if lg != nil {
lg.Warn("timed out waiting for read index response", zap.Duration("timeout", s.Cfg.ReqTimeout()))
lg.Warn("timed out waiting for read index response (local node might have slow network)", zap.Duration("timeout", s.Cfg.ReqTimeout()))
} else {
plog.Warningf("timed out waiting for read index response")
plog.Warningf("timed out waiting for read index response (local node might have slow network)")
}
nr.notify(ErrTimeout)
timeout = true
Expand Down

0 comments on commit 24ee22a

Please sign in to comment.