[ 
https://issues.apache.org/jira/browse/RATIS-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18103093#comment-18103093
 ] 

Tsz-wo Sze commented on RATIS-1825:
-----------------------------------

[~hooji], thanks a lot for testing Ratis!

bq. Candidate one-line fix, if the analysis holds: checkStaging's filter wants 
containsInConf(id, FOLLOWER, LISTENER) rather than the FOLLOWER-only default.

If I understand correctly, this is the proposed one line fix.  Are you 
interested in tryiing it and testing it?

> Change listener to follower or change follower to listener is not supported
> ---------------------------------------------------------------------------
>
>                 Key: RATIS-1825
>                 URL: https://issues.apache.org/jira/browse/RATIS-1825
>             Project: Ratis
>          Issue Type: Bug
>            Reporter: Lei Qian
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Currently ratis does not support changing a Listener node into a Follower or 
> a Follower into a Listener.
> Doing so can lead to some unexpected situations, such as a Listener not 
> realizing it has become a follower and not starting election or change 
> current leader node to a Listener without the node exiting Leader status.
> Need to add checks to prevent users from doing this.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to