etcd/rafthttp
Yicheng Qin 1c1cccd236 rafthttp: stop etcd if it is found removed when stream dial
The original process is stopping etcd only when pipeline message finds itself
has been removed. After this PR, stream dial has this functionality too.
It helps fast etcd stop, which doesn't need to wait for stream break to
fall back to pipeline, and wait for election timeout to send out message
to detect self removal.
2015-04-27 15:10:00 -07:00
..
coder.go rafthttp: add copyright header 2015-02-28 11:35:16 -08: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: stop etcd if it is found removed when stream dial 2015-04-27 15:10:00 -07:00
http_test.go rafthttp: stop etcd if it is found removed when stream dial 2015-04-27 15:10:00 -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: make metrics naming consistent 2015-03-04 16:12:53 -08: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: introduce msgappv2 stream format 2015-04-03 17:08:56 -07:00
msgappv2_test.go rafthttp: introduce msgappv2 stream format 2015-04-03 17:08:56 -07:00
peer.go rafthttp: stop etcd if it is found removed when stream dial 2015-04-27 15:10:00 -07:00
peer_test.go rafhttp: refactor func peer.pick in peer.go 2015-03-02 15:17:14 -08:00
pipeline.go rafthttp: add AddRemote 2015-04-24 11:49:23 -07:00
pipeline_test.go *: update to use IANA-assigned ports 2015-04-06 13:49:43 -07:00
remote.go rafthttp: add AddRemote 2015-04-24 11:49:23 -07:00
stream.go rafthttp: stop etcd if it is found removed when stream dial 2015-04-27 15:10:00 -07:00
stream_test.go rafthttp: stop etcd if it is found removed when stream dial 2015-04-27 15:10:00 -07:00
transport.go rafthttp: stop etcd if it is found removed when stream dial 2015-04-27 15:10:00 -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 *: update to use IANA-assigned ports 2015-04-06 13:49:43 -07:00
urlpick.go rafthttp: support multiple peer urls 2015-03-04 15:00:07 -08:00
urlpick_test.go rafthttp: support multiple peer urls 2015-03-04 15:00:07 -08:00
util.go rafthttp: add back tests that commentted out 2015-02-28 11:35:16 -08:00
util_test.go rafthttp: add util, msgapp, message test 2015-02-28 11:35:16 -08:00