Skip to content

[To dev/1.3] Improve fair TsFile parser admission - #19111

Merged
Caideyipi merged 2 commits into
dev/1.3from
cp/c515756e-dev13
Nov 4, 2026
Merged

Caideyipi merged 2 commits into
dev/1.3from
cp/c515756e-dev13

Merge branch 'dev/1.3' of https://github.com/apache/iotdb into cp/c51…

682ca86
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 4, 2026 in 2m 38s

Quality Gate failed

Failed conditions
B 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 268 in iotdb-core/datanode/src/test/java/org/apache/iotdb/db/pipe/agent/task/subtask/processor/PipeProcessorSubtaskExecutionGuardTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce the number of assertions from 35 to less than 25.

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

Check warning on line 383 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/resource/memory/PipeMemoryManager.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=AaGkWORHUJaCetOmN8zM&open=AaGkWORHUJaCetOmN8zM&pullRequest=19111

Check warning on line 68 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/metric/overview/PipeResourceMetrics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a thread-safe type; adding "volatile" is not enough to make this field thread-safe.

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

Check failure on line 193 in iotdb-core/datanode/src/test/java/org/apache/iotdb/db/pipe/agent/task/subtask/processor/PipeProcessorSubtaskExecutionGuardTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this "try" to a try-with-resources.

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

Check warning on line 298 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/agent/task/subtask/processor/PipeProcessorSubtask.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof PipeTsFileInsertionEvent pipetsfileinsertionevent'

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