Skip to content

[Pipe] Make two pipe fields thread-safe for SonarCloud's reliability gate - #19109

Merged
JackieTien97 merged 1 commit into
masterfrom
fix/sonar-reliability-pipe-fields
Nov 5, 2026
Merged

JackieTien97 merged 1 commit into
masterfrom
fix/sonar-reliability-pipe-fields

[Pipe] Make two pipe fields thread-safe for SonarCloud's reliability …

5df911a
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Nov 3, 2026 in 6m 39s

Annotations

Check warning on line 170 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/LoadTsFileSnapshot.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=AaGja4O8lpGIaCrB2ow3&open=AaGja4O8lpGIaCrB2ow3&pullRequest=19109

Check warning on line 358 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 142).

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

Check warning on line 61 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=AaGja9kdlpGIaCrB2o0F&open=AaGja9kdlpGIaCrB2o0F&pullRequest=19109

Check warning on line 844 in iotdb-core/node-commons/src/main/i18n/en/org/apache/iotdb/commons/i18n/PipeMessages.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this String concatenation with Text block.

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

Check warning on line 98 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/validate/TsFileOverlapValidationAndRepairTool.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=AaGja9gflpGIaCrB2oz4&open=AaGja9gflpGIaCrB2oz4&pullRequest=19109

Check warning on line 354 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/agent/SubscriptionBrokerAgent.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 151).

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

Check warning on line 28 in iotdb-api/pipe-api/src/main/java/org/apache/iotdb/pipe/api/exception/PipeConnectionException.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 167).

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

Check warning on line 3591 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/sql/parser/AstBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 118).

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

Check warning on line 176 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 111).

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

Check warning on line 325 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/iotconsensusv2/IoTConsensusV2SyncSink.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=AaGja7KXlpGIaCrB2ox8&open=AaGja7KXlpGIaCrB2ox8&pullRequest=19109

Check warning on line 55 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/ir/GapFillStartAndEndTimeExtractVisitor.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=AaGja4jLlpGIaCrB2ow-&open=AaGja4jLlpGIaCrB2ow-&pullRequest=19109

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=AaGjbB5xlpGIaCrB2o1z&open=AaGjbB5xlpGIaCrB2o1z&pullRequest=19109

Check warning on line 115 in iotdb-client/cli/src/main/java/org/apache/iotdb/tool/tsfile/ImportTsFile.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 179).

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

Check warning on line 587 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/statement/crud/QueryStatement.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=AaGja5avlpGIaCrB2oxW&open=AaGja5avlpGIaCrB2oxW&pullRequest=19109

Check warning on line 461 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/agent/SubscriptionTopicAgent.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 118).

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

Check warning on line 147 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/CommonUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 120).

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

Check warning on line 127 in iotdb-client/cli/src/main/java/org/apache/iotdb/tool/tsfile/ImportTsFile.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 171).

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

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=AaGja6LulpGIaCrB2oxp&open=AaGja6LulpGIaCrB2oxp&pullRequest=19109

Check warning on line 177 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/validate/TsFileOverlapValidationAndRepairTool.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=AaGja9gflpGIaCrB2oz_&open=AaGja9gflpGIaCrB2oz_&pullRequest=19109

Check warning on line 468 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/receiver/IoTDBFileReceiver.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 123).

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

Check warning on line 126 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/broker/SubscriptionPrefetchingTabletQueue.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 151).

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

Check warning on line 450 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/agent/SubscriptionTopicAgent.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 127).

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

Check warning on line 293 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 107).

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

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

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

Check warning on line 231 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/validate/TsFileValidationTool.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 190).

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