Skip to content

[To dev/1.3] Fix active LOAD worker retirement leaving files pending - #19091

Merged
jt2594838 merged 2 commits into
dev/1.3from
codex/cp-19076-dev-1.3
Nov 3, 2026
Merged

jt2594838 merged 2 commits into
dev/1.3from
codex/cp-19076-dev-1.3

Adapt active LOAD tests for 1.3 APIs

ff6d8b6
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 2, 2026 in 2m 17s

Quality Gate failed

Failed conditions
B Maintainability 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 170 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=AaGcQ5VPqkrH7cFehXFd&open=AaGcQ5VPqkrH7cFehXFd&pullRequest=19091

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

Catch Exception instead of Error.

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

Check warning on line 204 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=AaGcQ5VPqkrH7cFehXFe&open=AaGcQ5VPqkrH7cFehXFe&pullRequest=19091