Gyuho Lee
6ef2b7bcee
rafthttp: add missing "peer_sent_failures_total" metrics call
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-03-14 12:43:25 -04:00
Gyu-Ho Lee
937ae658dd
rafthttp: add Transport.Cut/MendPeer
...
From https://github.com/coreos/etcd/pull/6140 .
2016-08-10 17:09:35 -07:00
Xiang Li
a047aa4a81
rafthttp: rename to to peerID
2016-06-01 22:12:47 -07:00
Xiang Li
c25c00fcf9
rafthttp: simplify initialization funcs
2016-06-01 21:47:46 -07:00
Xiang Li
ba68d7bbe6
rafthttp: make newRemote simpler
2016-05-30 16:24:26 -07:00
Xiang Li
efe0ee7e59
rafthttp: remove the newPipeline func
...
Using struct to initialize pipeline is better when we have many
fields to file in.
2016-05-30 16:19:50 -07:00
Gyu-Ho Lee
bd71a60875
rafthttp: update LICENSE header
2016-05-12 20:49:28 -07:00
Anthony Romano
fe7cfe4d3d
rafthttp: plumb local peer URLs through transport
2016-02-05 16:44:41 -08:00
Gyu-Ho Lee
6aa559f93d
rafthttp: more detailed logs when filled-up buffer
...
This adds more detailed explanation about why some messages got dropped to help
users debug. This is for https://github.com/coreos/etcd/issues/3806 .
2015-11-18 14:17:43 -08:00
Yicheng Qin
6040d57106
rafthttp: use MergeLogger to merge message-drop log
...
rafthttp logs repeated messages when amounts of message-drop logs
happen, and it becomes log spamming.
Use MergeLogger to merge log lines in this case.
2015-11-04 07:26:58 -08:00
Xiang Li
427a154aae
rafthttp: various clean up
2015-10-18 09:49:18 -07:00
Yicheng Qin
0de0e4b77c
rafthttp: pretty print message drop info
2015-06-12 09:14:53 -07:00
Yicheng Qin
1dbe72bb74
rafthttp: pretty print connection error
...
1. print out the status change of connection with peer
2. only print the first error for repeated ones
2015-06-10 15:43:49 -07:00
Yicheng Qin
f1e995b070
rafthttp: use leveled logger
2015-06-09 16:15:02 -07:00
Xiang Li
28878e34ff
Merge pull request #2903 from xiang90/chord_rafthttp
...
rafhttp: clean up logging messages
2015-06-02 14:44:40 -07:00
Yicheng Qin
c371d8c65c
rafthttp: version enforcement on rafthttp messages
...
This PR sets etcd version and min cluster version in request header,
and let server check version compatibility. rafthttp server
will reject any message from peer with incompatible version(too low
version or too high version), and print out warning logs.
2015-06-02 13:33:18 -07:00
Xiang Li
a7a4233f0b
rafhttp: clean up logging messages
2015-06-01 17:18:37 -07:00
Yicheng Qin
9f19b5660f
rafthttp: add AddRemote
...
Add remotes to rafthttp, who help newly joined members catch up the
progress of the cluster. It supports basic message sending to remote, and
has no stream connection for simplicity. remotes will not be used
after the latest peers have been added into rafthttp.
2015-04-24 11:49:23 -07:00