Skip to content

Fix automatic LOAD retries during region recovery - #19098

Merged
jt2594838 merged 3 commits into
masterfrom
fix/load-scanner-restart
Nov 4, 2026
Merged

jt2594838 merged 3 commits into
masterfrom
fix/load-scanner-restart

Clarify region-unavailable LOAD retry semantics

6ac971c
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 3, 2026 in 5m 40s

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 1683 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/iotconsensusv2/IoTConsensusV2Receiver.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 115).

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

Check warning on line 149 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/UDFInfo.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=AaGfXPzG99pIcow0HXsa&open=AaGfXPzG99pIcow0HXsa&pullRequest=19098

Check warning on line 457 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/iotconsensusv2/IoTConsensusV2Receiver.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=AaGfXL9b99pIcow0HXpf&open=AaGfXL9b99pIcow0HXpf&pullRequest=19098

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 139).

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 138).

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

Check warning on line 497 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/env/ConfigNodeProcedureEnv.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=AaGfXO6x99pIcow0HXrn&open=AaGfXO6x99pIcow0HXrn&pullRequest=19098

Check warning on line 83 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/TsFileSketchTool.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=AaGfXM9a99pIcow0HXqf&open=AaGfXM9a99pIcow0HXqf&pullRequest=19098

Check warning on line 143 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 108).

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

Check warning on line 685 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/source/relational/LastQueryAggTableScanOperator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof LastAccumulator lastaccumulator'

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

Check warning on line 226 in iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 132).

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

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=AaGfXJWq99pIcow0HXod&open=AaGfXJWq99pIcow0HXod&pullRequest=19098

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

Check warning on line 260 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 169).

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

Check warning on line 68 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/TsFileResourcePrinter.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=AaGfXNVG99pIcow0HXrM&open=AaGfXNVG99pIcow0HXrM&pullRequest=19098

Check warning on line 1534 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=AaGfXPe299pIcow0HXsB&open=AaGfXPe299pIcow0HXsB&pullRequest=19098

Check warning on line 686 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 131).

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

Check warning on line 267 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/processor/twostage/exchange/sender/TwoStageAggregateSender.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=AaGfXLtN99pIcow0HXpP&open=AaGfXLtN99pIcow0HXpP&pullRequest=19098

Check warning on line 189 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/iterative/rule/TransformCorrelatedScalarSubquery.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=AaGfXIHo99pIcow0HXoA&open=AaGfXIHo99pIcow0HXoA&pullRequest=19098

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 131).

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

Check warning on line 698 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/iotconsensusv2/IoTConsensusV2Receiver.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 172).

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

Check warning on line 214 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 102).

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

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=AaGfXPS399pIcow0HXr3&open=AaGfXPS399pIcow0HXr3&pullRequest=19098

Check warning on line 69 in iotdb-core/calc-commons/src/main/java/org/apache/iotdb/calc/transformation/dag/column/binary/HmacColumnTransformer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 194).

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

Check warning on line 1582 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=AaGfXPe299pIcow0HXsH&open=AaGfXPe299pIcow0HXsH&pullRequest=19098

Check warning on line 136 in library-udf/src/main/java/org/apache/iotdb/library/string/UDTFRegexSplit.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=AaGfXRxA99pIcow0HXs6&open=AaGfXRxA99pIcow0HXs6&pullRequest=19098