We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refer etcd-io/etcd#8525
The text was updated successfully, but these errors were encountered:
The pre_vote field of Raft is private:
pre_vote
Raft
pub struct Raft<T: Storage> { ... pub check_quorum: bool, pre_vote: bool, ...
but pre_vote was changed directly in etcd-io/etcd#8525 :
func newPreVoteMigrationCluster(t *testing.T) *network { ... n1.preVote = true ...
I couldn't find any methods to change the value of pre_vote after a raft was instantiated, how can I reset the pre_vote field of a raft?
raft
Sorry, something went wrong.
Hi @csmoe
Seem you can make the field public like check_quorum does
check_quorum
No branches or pull requests
refer etcd-io/etcd#8525
The text was updated successfully, but these errors were encountered: