etcd/rafthttp
Yicheng Qin 1f21ccf166 rafthttp: support sending v3 snapshot message
Use snapshotSender to send v3 snapshot message. It puts raft snapshot
message and v3 snapshot into request body, then sends it to the target peer.
When it receives http.StatusNoContent, it knows the message has been
received and processed successfully.

As receiver, snapHandler saves v3 snapshot and then processes the raft snapshot
message, then respond with http.StatusNoContent.
2015-10-13 23:11:28 -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: build transport inside pkg instead of passed-in 2015-10-11 21:42:37 -07:00
http.go rafthttp: support sending v3 snapshot message 2015-10-13 23:11:28 -07: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 rafthttp: support sending v3 snapshot message 2015-10-13 23:11:28 -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: support sending v3 snapshot message 2015-10-13 23:11:28 -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
snapshot_sender.go rafthttp: support sending v3 snapshot message 2015-10-13 23:11:28 -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 *: add missing license headers 2015-09-15 14:09:01 -07:00
transport.go rafthttp: support sending v3 snapshot message 2015-10-13 23:11:28 -07:00
transport_bench_test.go rafthttp: build transport inside pkg instead of passed-in 2015-10-11 21:42:37 -07:00
transport_test.go rafthttp: build transport inside pkg instead of passed-in 2015-10-11 21:42:37 -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: support sending v3 snapshot message 2015-10-13 23:11:28 -07:00
util_test.go rafthttp: version enforcement on rafthttp messages 2015-06-02 13:33:18 -07:00