mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #10026 from gyuho/read-index
etcdserver: clarify read index wait timeout warnings
This commit is contained in:
commit
24ee22ab48
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user