You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifically, I want to add a node to the raft group first. But I first add a learner node, and then when the log of the learner node is up-to-date, I make it become the voter.
I see the ConfChangeType::AddLearnerNode in this library, but I'm so sorry because I'm not sure how to use it.
Or the library itself implement the steps I've described? As long as I use ConfChangeType::AddNode. 😂
The text was updated successfully, but these errors were encountered:
You need to add the learner first by using ConfChangeType::AddLearnerNode, and then promote it to voter using ConfChangeType::AddNode. Adding a learner is similar with add a node.
You need to add the learner first by using ConfChangeType::AddLearnerNode, and then promote it to voter using ConfChangeType::AddNode. Adding a learner is similar with add a node.
Thanks for your reply. I wonder what is the time to promote voter? In other words, Do I need to maintain the log status of learner myself, and when it log up-to-date as the leader, create a ConfChangeType::AddNode to promote it as a voter?
Specifically, I want to add a node to the raft group first. But I first add a learner node, and then when the log of the learner node is up-to-date, I make it become the voter.
I see the
ConfChangeType::AddLearnerNode
in this library, but I'm so sorry because I'm not sure how to use it.Or the library itself implement the steps I've described? As long as I use
ConfChangeType::AddNode
. 😂The text was updated successfully, but these errors were encountered: