Skip to content

Prevent deleted values from reappearing after a local LOAD crash - #19136

Open
Caideyipi wants to merge 6 commits into
masterfrom
codex/load-local-install-crash-safety
Open

Caideyipi wants to merge 6 commits into
masterfrom
codex/load-local-install-crash-safety

Align LOAD cleanup tests with source group retention

0871f70
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 6, 2026 in 9m 56s

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 456 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/writeback/WriteBackSink.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 110).

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

Check warning on line 319 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/load/TreeSchemaAutoCreatorAndVerifier.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof IoTDBException iotdbexception'

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

Check warning on line 773 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

Line is longer than 100 characters (found 274).

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

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=AaGqRrrzpDSRxurzay68&open=AaGqRrrzpDSRxurzay68&pullRequest=19136

Check warning on line 60 in library-udf/src/main/java/org/apache/iotdb/library/dprofile/UDTFZScore.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=AaGqRvi-pDSRxurzay8j&open=AaGqRvi-pDSRxurzay8j&pullRequest=19136

Check warning on line 319 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/trigger/service/TriggerManagementService.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=AaGqRrkTpDSRxurzay67&open=AaGqRrkTpDSRxurzay67&pullRequest=19136

Check warning on line 69 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/utils/WALPrintTool.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=AaGqRkcypDSRxurzay3P&open=AaGqRkcypDSRxurzay3P&pullRequest=19136

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=AaGqRog6pDSRxurzay4q&open=AaGqRog6pDSRxurzay4q&pullRequest=19136

Check warning on line 259 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/partition/DataPartitionTableIntegrityCheckProcedure.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 118).

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

Check warning on line 115 in iotdb-client/cli/src/main/java/org/apache/iotdb/tool/tsfile/ImportTsFile.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 179).

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

Check warning on line 1241 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/thrift/IoTDBDataNodeReceiver.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 103).

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

Check warning on line 1192 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/subscription/SubscriptionInfo.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=AaGqRuUJpDSRxurzay8V&open=AaGqRuUJpDSRxurzay8V&pullRequest=19136

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=AaGqRl7ApDSRxurzay3s&open=AaGqRl7ApDSRxurzay3s&pullRequest=19136

Check warning on line 1222 in iotdb-client/subscription/src/main/java/org/apache/iotdb/session/subscription/consumer/base/AbstractSubscriptionConsumer.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=AaGqRw60pDSRxurzay8z&open=AaGqRw60pDSRxurzay8z&pullRequest=19136

Check warning on line 404 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 103).

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

Check warning on line 158 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=AaGqRrYTpDSRxurzay6p&open=AaGqRrYTpDSRxurzay6p&pullRequest=19136

Check warning on line 155 in iotdb-client/cli/src/main/java/org/apache/iotdb/tool/schema/ImportSchemaTree.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 159).

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

Check warning on line 110 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/utils/TsFileStatisticScan.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=AaGqRrGwpDSRxurzay6U&open=AaGqRrGwpDSRxurzay6U&pullRequest=19136

Check warning on line 170 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/agent/task/execution/PipeSubtaskExecutor.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=AaGqRiycpDSRxurzay2z&open=AaGqRiycpDSRxurzay2z&pullRequest=19136

Check failure on line 934 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/source/dataregion/historical/PipeHistoricalDataRegionTsFileAndDeletionSource.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=AaGqRpcZpDSRxurzay42&open=AaGqRpcZpDSRxurzay42&pullRequest=19136

Check warning on line 932 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

Line is longer than 100 characters (found 135).

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

Check warning on line 132 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/broker/SubscriptionPrefetchingTsFileQueue.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 159).

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

Check warning on line 113 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

Replace this use of System.out by a logger.

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

Check warning on line 354 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/agent/SubscriptionBrokerAgent.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 151).

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

Check warning on line 78 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/tool/PrintUtil.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=AaGqRkTcpDSRxurzay3J&open=AaGqRkTcpDSRxurzay3J&pullRequest=19136