[ 
https://issues.apache.org/jira/browse/RATIS-1779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz-wo Sze resolved RATIS-1779.
-------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

The pull request is now merged.  Thanks, [~ckj]!

> Refactor: Reduce nesting in TransferLeadership
> ----------------------------------------------
>
>                 Key: RATIS-1779
>                 URL: https://issues.apache.org/jira/browse/RATIS-1779
>             Project: Ratis
>          Issue Type: Sub-task
>            Reporter: Kaijie Chen
>            Assignee: Kaijie Chen
>            Priority: Trivial
>             Fix For: 3.0.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> SonarCloud is reporting code smells in TransferLeadership:
> https://sonarcloud.io/project/issues?open=AYYT2tFQxJaOArS9ruWc&id=apache-ratis
>  
> The main reason is TransferLeadership#start() is becoming too complicated.
> TransferLeadership#onFollowerAppendEntriesReply() can be simplified, too.



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

Reply via email to