Skip to content

Fix ConfigNode leader warm-up recovery

2501efb
Select commit
Loading
Failed to load commit list.
Open

Improve ConfigNode leader warm-up before serving #17821

Fix ConfigNode leader warm-up recovery
2501efb
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jun 8, 2026 in 2m 39s

Annotations

Check failure on line 84 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/client/async/handlers/heartbeat/DataNodeHeartbeatHandler.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6IQxPF6wWHSYqa09KV&open=AZ6IQxPF6wWHSYqa09KV&pullRequest=17821

Check warning on line 449 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/consensus/ConsensusManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce the total number of break and continue statements in this loop to use at most one.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6M6d0BE_QCUp5x07_C&open=AZ6M6d0BE_QCUp5x07_C&pullRequest=17821

Check warning on line 436 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/consensus/ConsensusManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

All overloaded methods should be placed next to each other. Placing non-overloaded methods in between overloaded methods with the same type is a violation. Previous overloaded method located at line '428'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6lLnw0beUvDwarX1D_&open=AZ6lLnw0beUvDwarX1D_&pullRequest=17821