Skip to content

[To dev/1.3] Fix tree deletion recovery during WAL replay (#19081) - #19089

Open
Caideyipi wants to merge 5 commits into
dev/1.3from
codex/cp-76d573a4-dev-1.3
Open

Caideyipi wants to merge 5 commits into
dev/1.3from
codex/cp-76d573a4-dev-1.3

Adapt deletion recovery helper to TsFile 1.x readers

9d9a3c3
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Nov 3, 2026 in 2m 21s

Annotations

Check warning on line 175 in iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/execution/fragment/FragmentInstanceExecutionTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

WhitespaceAround: '{' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3)

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGfEE3YhBgl9r1-NfrC&open=AaGfEE3YhBgl9r1-NfrC&pullRequest=19089

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=AaGfFh8dZFcglNqmcIfX&open=AaGfFh8dZFcglNqmcIfX&pullRequest=19089

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=AaGfFh8dZFcglNqmcIfW&open=AaGfFh8dZFcglNqmcIfW&pullRequest=19089

Check warning on line 137 in iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/execution/fragment/FragmentInstanceExecutionTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Abbreviation in name 'testTVListOwnerTransfer' must contain no more than '2' consecutive capital letters.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGfEE3YhBgl9r1-NfrB&open=AaGfEE3YhBgl9r1-NfrB&pullRequest=19089

Check warning on line 89 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/recover/file/TsFilePlanRedoer.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=AaGfEE-_hBgl9r1-NfrG&open=AaGfEE-_hBgl9r1-NfrG&pullRequest=19089

Check warning on line 175 in iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/execution/fragment/FragmentInstanceExecutionTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

WhitespaceAround: '}' is not preceded with whitespace.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGfEE3YhBgl9r1-NfrD&open=AaGfEE3YhBgl9r1-NfrD&pullRequest=19089

Check warning on line 177 in iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/execution/fragment/FragmentInstanceExecutionTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

WhitespaceAround: '{' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3)

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGfEE3YhBgl9r1-NfrE&open=AaGfEE3YhBgl9r1-NfrE&pullRequest=19089

Check failure on line 83 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/recover/file/TsFilePlanRedoer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGfEE-_hBgl9r1-NfrH&open=AaGfEE-_hBgl9r1-NfrH&pullRequest=19089

Check warning on line 177 in iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/execution/fragment/FragmentInstanceExecutionTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

WhitespaceAround: '}' is not preceded with whitespace.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGfEE3YhBgl9r1-NfrF&open=AaGfEE3YhBgl9r1-NfrF&pullRequest=19089

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=AaGfFh8dZFcglNqmcIfY&open=AaGfFh8dZFcglNqmcIfY&pullRequest=19089