Skip to content

Support multiple regions in MIGRATE REGION and multiple DataNodes in REMOVE DATANODE#18046

Open
CRZbulabula wants to merge 2 commits into
masterfrom
support-multi-region-migrate
Open

Support multiple regions in MIGRATE REGION and multiple DataNodes in REMOVE DATANODE#18046
CRZbulabula wants to merge 2 commits into
masterfrom
support-multi-region-migrate

Support removing multiple DataNodes in one REMOVE DATANODE statement

dc752b3
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jun 28, 2026 in 2m 47s

Annotations

Check warning on line 1609 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/sql/parser/AstBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

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

Check warning on line 4669 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/parser/ASTVisitor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

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

Check warning on line 2352 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/execution/config/executor/ClusterConfigTaskExecutor.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 178 to 64, Complexity from 21 to 14, Nesting Level from 4 to 2, Number of Variables from 22 to 6.

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

Check warning on line 1177 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ProcedureManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

%n should be used in place of \n to produce the platform-specific line separator.

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

Check warning on line 1575 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/sql/parser/AstBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

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

Check warning on line 2150 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/sql/parser/AstBuilder.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 89 to 64, Complexity from 27 to 14, Nesting Level from 4 to 2, Number of Variables from 9 to 6.

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

Check failure on line 1160 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ProcedureManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "region " 4 times.

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

Check warning on line 4761 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/parser/ASTVisitor.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 20 to 14, Nesting Level from 3 to 2, Number of Variables from 14 to 6.

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

Check warning on line 4636 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/parser/ASTVisitor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

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

Check warning on line 1152 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ProcedureManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Each variable declaration must be in its own statement.

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

Check warning on line 2065 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/sql/parser/AstBuilder.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 29 to 14, Nesting Level from 4 to 2, Number of Variables from 10 to 6.

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

Check warning on line 1152 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ProcedureManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Declare "success" on a separate line.

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