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

Kaijie Chen updated RATIS-1779:
-------------------------------
    Summary: Refactor: Reduce nesting in TransferLeadership  (was: Refactor 
TransferLeadership to reduce nesting)

> 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
>          Time Spent: 20m
>  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