Skip to content

Preserve failed active LOAD file groups - #19285

Merged
Caideyipi merged 1 commit into
dev/1.3from
codex/cp-ed9504-dev13
Nov 16, 2026
Merged

Caideyipi merged 1 commit into
dev/1.3from
codex/cp-ed9504-dev13

Preserve failed active LOAD file groups (#19253)

00f1e04
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Nov 16, 2026 in 2m 15s

Annotations

Check failure on line 589 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadTsFileLoader.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHiSfBaLkb--FsDKnye&open=AaHiSfBaLkb--FsDKnye&pullRequest=19285

Check failure on line 408 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadTsFileLoader.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHiSfBaLkb--FsDKnyc&open=AaHiSfBaLkb--FsDKnyc&pullRequest=19285

Check warning on line 598 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadTsFileLoader.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the "AtomicReference" API for synchronization instead of a "synchronized" block.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHiSfBaLkb--FsDKnyf&open=AaHiSfBaLkb--FsDKnyf&pullRequest=19285

Check failure on line 426 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadTsFileLoader.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "active-load-" 3 times.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHiSfBaLkb--FsDKnyb&open=AaHiSfBaLkb--FsDKnyb&pullRequest=19285

Check warning on line 235 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadTsFileLoader.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

All overloaded methods should be placed next to each other. Placing non-overloaded methods in between overloaded methods with the same type is a violation. Previous overloaded method located at line '216'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHiSfBaLkb--FsDKnyg&open=AaHiSfBaLkb--FsDKnyg&pullRequest=19285

Check warning on line 609 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadTsFileLoader.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=AaHiSfBaLkb--FsDKnya&open=AaHiSfBaLkb--FsDKnya&pullRequest=19285

Check warning on line 446 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadTsFileLoader.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested try block into a separate method.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHiSfBaLkb--FsDKnyZ&open=AaHiSfBaLkb--FsDKnyZ&pullRequest=19285

Check warning on line 452 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadTsFileLoader.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless assignment to local variable "stagingDirectory".

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHiSfBaLkb--FsDKnyd&open=AaHiSfBaLkb--FsDKnyd&pullRequest=19285