[
https://issues.apache.org/jira/browse/RATIS-1301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17278299#comment-17278299
]
Rui Wang commented on RATIS-1301:
---------------------------------
Thanks! Let me explore the option #2 and Support automatically changing a
Learner to a follower in the data structure.
Will report back after I have some thoughts on option #2. (right now I am only
clear on option #1)
> LeaderElection works when Listener is in RaftGroup
> --------------------------------------------------
>
> Key: RATIS-1301
> URL: https://issues.apache.org/jira/browse/RATIS-1301
> Project: Ratis
> Issue Type: Sub-task
> Components: server
> Reporter: Rui Wang
> Assignee: Rui Wang
> Priority: Major
> Time Spent: 2h 20m
> Remaining Estimate: 0h
>
> A listener is a role that only receives AppendEntries and InstallSnapshot
> (thus does not serve read and write requests). Listener keeps catch up
> RaftLog from the leader and will not automatically become a learner (or
> follower) unless it is promoted.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)