Skip to content

Disable multi-node REMOVE statements - #18360

Merged
CRZbulabula merged 1 commit into
masterfrom
yongzao/disable-multi-node-remove
Jul 30, 2026
Merged

Disable multi-node REMOVE statements#18360
CRZbulabula merged 1 commit into
masterfrom
yongzao/disable-multi-node-remove

Disable multi-node REMOVE statements

63a44a7
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 30, 2026 in 4m 33s

Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 558 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/pipe/AbstractOperatePipeProcedureV2.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'case' child has incorrect indentation level 10, expected level should be 6.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xRTw9WcyZX5fePCtE&open=AZ-xRTw9WcyZX5fePCtE&pullRequest=18360

Check failure on line 355 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/pipe/AbstractOperatePipeProcedureV2.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Fix this access that will throw a NullPointerException when executed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xRTw9WcyZX5fePCs1&open=AZ-xRTw9WcyZX5fePCs1&pullRequest=18360

Check warning on line 128 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/audit/PasswordChangeAuditContext.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof RelationalAuthorStatement relationalauthorstatement'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xRTu5WcyZX5fePCso&open=AZ-xRTu5WcyZX5fePCso&pullRequest=18360

Check warning on line 513 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/pipe/AbstractOperatePipeProcedureV2.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 102).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xRTw9WcyZX5fePCs-&open=AZ-xRTw9WcyZX5fePCs-&pullRequest=18360

Check warning on line 713 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/security/TreeAccessCheckVisitor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 120).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xRThvWcyZX5fePCsX&open=AZ-xRThvWcyZX5fePCsX&pullRequest=18360

Check warning on line 128 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/audit/PasswordChangeAuditContext.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof RelationalAuthorStatement relationalauthorstatement'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xRTu5WcyZX5fePCsn&open=AZ-xRTu5WcyZX5fePCsn&pullRequest=18360

Check warning on line 480 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/parser/scan/TsFileInsertionEventScanParser.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 134 to 64, Complexity from 34 to 14, Nesting Level from 4 to 2, Number of Variables from 8 to 6.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xRTr0WcyZX5fePCsb&open=AZ-xRTr0WcyZX5fePCsb&pullRequest=18360

Check warning on line 115 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/pipe/AbstractOperatePipeProcedureV2.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a thread-safe type; adding "volatile" is not enough to make this field thread-safe.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xRTw9WcyZX5fePCsy&open=AZ-xRTw9WcyZX5fePCsy&pullRequest=18360

Check warning on line 522 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/pipe/AbstractOperatePipeProcedureV2.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 112).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xRTw9WcyZX5fePCs_&open=AZ-xRTw9WcyZX5fePCs_&pullRequest=18360

Check warning on line 62 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/audit/DNAuditLogger.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Simplify this regular expression to reduce its complexity from 25 to the 20 allowed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xRTvsWcyZX5fePCss&open=AZ-xRTvsWcyZX5fePCss&pullRequest=18360

Check warning on line 1441 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/TsFileProcessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Abbreviation in name 'sortedTVList' must contain no more than '2' consecutive capital letters.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xRTUvWcyZX5fePCsU&open=AZ-xRTUvWcyZX5fePCsU&pullRequest=18360

Check warning on line 120 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/audit/PasswordChangeAuditContext.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof AuthorStatement authorstatement'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xRTu5WcyZX5fePCsl&open=AZ-xRTu5WcyZX5fePCsl&pullRequest=18360

Check warning on line 1167 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/datastructure/AlignedTVList.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary cast to "long".

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xRTsoWcyZX5fePCsh&open=AZ-xRTsoWcyZX5fePCsh&pullRequest=18360

Check warning on line 444 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/pipe/AbstractOperatePipeProcedureV2.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 130).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xRTw9WcyZX5fePCs2&open=AZ-xRTw9WcyZX5fePCs2&pullRequest=18360

Check warning on line 189 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/audit/DNAuditLogger.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge the previous cases into this one using comma-separated label.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xRTvsWcyZX5fePCsq&open=AZ-xRTvsWcyZX5fePCsq&pullRequest=18360

Check failure on line 1376 in iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/iot/IoTConsensusServerImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xRT2GWcyZX5fePCtR&open=AZ-xRT2GWcyZX5fePCtR&pullRequest=18360

Check warning on line 1263 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/TsFileProcessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Method has 10 parameters, which is greater than 7 authorized.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xRTUvWcyZX5fePCsQ&open=AZ-xRTUvWcyZX5fePCsQ&pullRequest=18360

Check warning on line 120 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/audit/PasswordChangeAuditContext.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof AuthorStatement authorstatement'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xRTu5WcyZX5fePCsm&open=AZ-xRTu5WcyZX5fePCsm&pullRequest=18360

Check warning on line 994 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/node/NodeManager.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=AZ-xRT0vWcyZX5fePCtN&open=AZ-xRT0vWcyZX5fePCtN&pullRequest=18360

Check warning on line 30 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/scheduler/LockQueue.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a thread-safe type; adding "volatile" is not enough to make this field thread-safe.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xRTxtWcyZX5fePCtH&open=AZ-xRTxtWcyZX5fePCtH&pullRequest=18360

Check warning on line 72 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/audit/PasswordChangeAuditTask.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Catch Exception instead of Error.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xRTvOWcyZX5fePCsp&open=AZ-xRTvOWcyZX5fePCsp&pullRequest=18360

Check warning on line 566 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/pipe/AbstractOperatePipeProcedureV2.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'switch rcurly' has incorrect indentation level 8, expected level should be 4.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xRTw9WcyZX5fePCtG&open=AZ-xRTw9WcyZX5fePCtG&pullRequest=18360

Check warning on line 474 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/pipe/AbstractOperatePipeProcedureV2.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 125).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xRTw9WcyZX5fePCs5&open=AZ-xRTw9WcyZX5fePCs5&pullRequest=18360

Check warning on line 739 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/datastructure/AlignedTVList.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary cast to "long".

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xRTsoWcyZX5fePCsf&open=AZ-xRTsoWcyZX5fePCsf&pullRequest=18360

Check warning on line 1379 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/TsFileProcessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Abbreviation in name 'reconcileAlignedTVListRamCost' must contain no more than '2' consecutive capital letters.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xRTUvWcyZX5fePCsS&open=AZ-xRTUvWcyZX5fePCsS&pullRequest=18360