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

Kaijie Chen commented on RATIS-1772:
------------------------------------

{quote}let's don't rename the proto and the method. It is an incompatible 
change. Also StartLeaderElection is more clear than TimeoutNow.{quote}

OK, let's just rename 
{{LeaderStateImpl#sendStartLeaderElectionToHigherPriorityPeer()}} then, 
probably to {{TransferLeadership#sendStartLeaderElectionToPeer()}}. Because 
it's possible to send StartLeaderElection to same priority peer.

> Refactor StartLeaderElection to TimeoutNow
> ------------------------------------------
>
>                 Key: RATIS-1772
>                 URL: https://issues.apache.org/jira/browse/RATIS-1772
>             Project: Ratis
>          Issue Type: Sub-task
>            Reporter: Kaijie Chen
>            Priority: Minor
>
> Rename  {{StartLeaderElection}} to {{TimeoutNow}} in proto and related 
> methods.
> Move and rename 
> {{LeaderStateImpl#sendStartLeaderElectionToHigherPriorityPeer()}} to 
> {{TransferLeadership#sendTimeoutNow()}}.



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

Reply via email to