etcd/raft/confchange
Tobias Schottdorf b67303c6a2 raft: allow use of joint quorums
This change introduces joint quorums by changing the Node and RawNode
API to accept pb.ConfChangeV2 (on top of pb.ConfChange).

pb.ConfChange continues to work as today: it allows carrying out a
single configuration change. A pb.ConfChange proposal gets added to
the Raft log as such and is thus also observed by the app during Ready
handling, and fed back to ApplyConfChange.

ConfChangeV2 allows joint configuration changes but will continue to
carry out configuration changes in "one phase" (i.e. without ever
entering a joint config) when this is possible.
2019-07-23 10:40:03 +02:00
..
testdata raft: allow use of joint quorums 2019-07-23 10:40:03 +02:00
confchange.go raft: allow use of joint quorums 2019-07-23 10:40:03 +02:00
datadriven_test.go raft: allow use of joint quorums 2019-07-23 10:40:03 +02:00
quick_test.go raft: allow use of joint quorums 2019-07-23 10:40:03 +02:00