Skip to content

Revert "Update ConfigRegionStateMachine.java"

df8ce33
Select commit
Loading
Failed to load commit list.
Open

Improve ConfigNode leader warm-up before serving #17821

Revert "Update ConfigRegionStateMachine.java"
df8ce33
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jun 9, 2026 in 2m 52s

Annotations

Check warning on line 3078 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/DataRegion.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 97 to 64, Complexity from 17 to 14, Nesting Level from 7 to 2, Number of Variables from 24 to 6.

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

Check warning on line 3491 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/DataRegion.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 149 to 64, Complexity from 29 to 14, Nesting Level from 5 to 2, Number of Variables from 26 to 6.

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

Check warning on line 2640 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/DataRegion.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 81 to 64, Complexity from 19 to 14, Nesting Level from 5 to 2, Number of Variables from 17 to 6.

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

Check warning on line 107 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/statemachine/ConfigRegionStateMachine.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Single-line Javadoc comment should be multi-line.

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