etcd/rafthttp
Yicheng Qin 8f6bf029f8 etcdserver: specify request timeout error due to connection lost
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
```
2015-08-26 12:38:37 -07:00
..
coder.go rafthttp: add copyright header 2015-02-28 11:35:16 -08:00
fake_roundtripper_go14_test.go rafthttp: always cancel in-flight request when pipeline.send 2015-08-25 09:07:49 -07:00
fake_roundtripper_test.go rafthttp: always cancel in-flight request when pipeline.send 2015-08-25 09:07:49 -07:00
functional_test.go rafthttp: stop etcd if it is found removed when stream dial 2015-04-27 15:10:00 -07:00
http.go rafthttp: monitor connection 2015-08-04 17:39:40 +08:00
http_test.go etcdserver: specify request timeout error due to connection lost 2015-08-26 12:38:37 -07:00
message.go rafthttp: add copyright header 2015-02-28 11:35:16 -08:00
message_test.go rafthttp: add util, msgapp, message test 2015-02-28 11:35:16 -08:00
metrics.go rafthttp: message_sent_latency metrics: channel -> sendingType 2015-06-29 10:44:40 -07:00
msgapp.go rafthttp: add back tests that commentted out 2015-02-28 11:35:16 -08:00
msgapp_test.go rafthttp: add util, msgapp, message test 2015-02-28 11:35:16 -08:00
msgappv2.go rafthttp: reduce allocs in msgappv2 2015-04-06 09:45:39 -07:00
msgappv2_test.go rafthttp: reduce allocs in msgappv2 2015-04-06 09:45:39 -07:00
peer.go etcdserver: specify request timeout error due to connection lost 2015-08-26 12:38:37 -07:00
peer_status.go etcdserver: specify request timeout error due to connection lost 2015-08-26 12:38:37 -07:00
peer_test.go rafhttp: refactor func peer.pick in peer.go 2015-03-02 15:17:14 -08:00
pipeline.go rafthttp: always cancel in-flight request when pipeline.send 2015-08-25 09:07:49 -07:00
pipeline_test.go rafthttp: always cancel in-flight request when pipeline.send 2015-08-25 09:07:49 -07:00
probing_status.go rafthttp: monitor connection 2015-08-04 17:39:40 +08:00
remote.go rafthttp: pretty print message drop info 2015-06-12 09:14:53 -07:00
stream.go rafthttp: return err if stopped before setting cancel in dial() 2015-08-25 08:59:12 -07:00
stream_test.go rafthttp: avoid TestStream to use outdated stream 2015-06-29 10:46:54 -07:00
transport.go etcdserver: specify request timeout error due to connection lost 2015-08-26 12:38:37 -07:00
transport_bench_test.go rafthttp: stop etcd if it is found removed when stream dial 2015-04-27 15:10:00 -07:00
transport_test.go rafthttp: use customized transport for probing 2015-08-06 16:20:44 -07:00
urlpick.go rafthttp: move mu to the top in urlPicker struct 2015-06-01 16:40:18 -07:00
urlpick_test.go rafthttp: support multiple peer urls 2015-03-04 15:00:07 -08:00
util.go rafthttp: version enforcement on rafthttp messages 2015-06-02 13:33:18 -07:00
util_test.go rafthttp: version enforcement on rafthttp messages 2015-06-02 13:33:18 -07:00