mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdserver: clarify read index wait timeout warnings
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
This commit is contained in:
parent
7f337ef13a
commit
95afd1fb24
@ -646,7 +646,7 @@ func (s *EtcdServer) linearizableReadLoop() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
case <-time.After(s.Cfg.ReqTimeout()):
|
case <-time.After(s.Cfg.ReqTimeout()):
|
||||||
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)
|
nr.notify(ErrTimeout)
|
||||||
timeout = true
|
timeout = true
|
||||||
slowReadIndex.Inc()
|
slowReadIndex.Inc()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user