Skip to content

test: add Pipe, metadata, LOAD, deletion, and write recovery ITs - #19051

Draft
Caideyipi wants to merge 36 commits into
masterfrom
test/pipe-p0-it-master
Draft

Caideyipi wants to merge 36 commits into
masterfrom
test/pipe-p0-it-master

test: pin Pipe transfer recovery replication to its single-node topology

125c965
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 6, 2026 in 6m 47s

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 147 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/CommonUtils.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=AaGbm2A3qkrH7cFeVwsl&open=AaGbm2A3qkrH7cFeVwsl&pullRequest=19051

Check warning on line 1607 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ConfigManager.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=AaGbm5nEqkrH7cFeVwvD&open=AaGbm5nEqkrH7cFeVwvD&pullRequest=19051

Check warning on line 104 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/iotconsensusv2/IoTConsensusV2AsyncSink.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 124).

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

Check warning on line 2499 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 161).

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

Check warning on line 2161 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/schema/ClusterSchemaManager.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=AaGbm5SSqkrH7cFeVwup&open=AaGbm5SSqkrH7cFeVwup&pullRequest=19051

Check warning on line 2148 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/schema/ClusterSchemaManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 108).

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

Check warning on line 470 in iotdb-client/cli/src/main/java/org/apache/iotdb/tool/common/Constants.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 116).

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

Check warning on line 335 in iotdb-client/cli/src/main/java/org/apache/iotdb/cli/AbstractCli.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 113).

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

Check warning on line 213 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/agent/task/PipeTaskAgent.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused method parameter "pipeStaticMeta".

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGvEVMyc-bhgXJxfgzy&open=AaGvEVMyc-bhgXJxfgzy&pullRequest=19051

Check warning on line 70 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/validate/TsFileOverlapValidationAndRepairTool.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this use of System.out by a logger.

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

Check warning on line 61 in library-udf/src/main/java/org/apache/iotdb/library/frequency/UDTFIDWT.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 105).

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

Check warning on line 433 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/resource/memory/PipeMemoryManager.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=AaGvEZ9Oc-bhgXJxfg0O&open=AaGvEZ9Oc-bhgXJxfg0O&pullRequest=19051

Check warning on line 1728 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/broker/consensus/ConsensusPrefetchingQueue.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 186).

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

Check warning on line 865 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/Coordinator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof WrappedInsertStatement wrappedinsertstatement'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGvEZAQc-bhgXJxfg0J&open=AaGvEZAQc-bhgXJxfg0J&pullRequest=19051

Check warning on line 1707 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/schema/ClusterSchemaManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 104).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGwHv15-WmSpNyZrBBS&open=AaGwHv15-WmSpNyZrBBS&pullRequest=19051

Check warning on line 454 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/thrift/sync/IoTDBDataRegionSyncSink.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 108).

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

Check warning on line 114 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/utils/TsFileRewriteSmallRangeI64Scan.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "printf" instead of "String.format".

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

Check warning on line 726 in iotdb-client/cli/src/main/i18n/en/org/apache/iotdb/cli/i18n/CliMessages.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this String concatenation with Text block.

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

Check warning on line 59 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/sql/ast/AsofJoinOn.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 101).

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

Check warning on line 346 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/executor/RegionWriteExecutor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 123).

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

Check warning on line 1381 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/PlanGraphPrinter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this lambda with method reference 'Object::toString'.

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

Check warning on line 64 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/tool/TimePartitionProcessTask.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 123).

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

Check failure on line 1966 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/schema/ClusterSchemaManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGvEecpc-bhgXJxfg0X&open=AaGvEecpc-bhgXJxfg0X&pullRequest=19051

Check warning on line 805 in iotdb-core/datanode/src/main/i18n/en/org/apache/iotdb/db/i18n/DataNodeSchemaMessages.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this String concatenation with Text block.

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

Check warning on line 47 in iotdb-core/calc-commons/src/main/java/org/apache/iotdb/calc/execution/operator/source/relational/aggregation/RecordIterator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 107).

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