mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

It specifies request timeout error possibly caused by connection lost, and print out better log for user to understand. It handles two cases: 1. the leader cannot connect to majority of cluster. 2. the connection between follower and leader is down for a while, and it losts proposals. log format: ``` 20:04:19 etcd3 | 2015-08-25 20:04:19.368126 E | etcdhttp: etcdserver: request timed out, possibly due to connection lost 20:04:19 etcd3 | 2015-08-25 20:04:19.368227 E | etcdhttp: etcdserver: request timed out, possibly due to connection lost ```