Kaijie Chen created RATIS-1779:
----------------------------------
Summary: Refactor: Reduce cognitive complexity 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
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)