Skip to content

Document IT discovery and reliability guidelines - #19058

Merged
JackieTien97 merged 1 commit into
masterfrom
ty/it-authoring-guidelines
Oct 30, 2026
Merged

JackieTien97 merged 1 commit into
masterfrom
ty/it-authoring-guidelines

Document IT discovery and reliability guidelines

e0e4627
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Oct 30, 2026 in 4m 33s

Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)
E 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 1650 in iotdb-client/subscription/src/main/java/org/apache/iotdb/session/subscription/consumer/base/AbstractSubscriptionConsumer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof CommitException commitexception'

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

Check warning on line 114 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/queryengine/plan/relational/function/tvf/match/QetchAlgorithm.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=AaGK2RWS_L0gwqXkeU0V&open=AaGK2RWS_L0gwqXkeU0V&pullRequest=19058

Check warning on line 503 in iotdb-client/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBTablePreparedStatement.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 '472'.

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

Check warning on line 504 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/sink/protocol/IoTDBAirGapSink.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=AaGK2RyG_L0gwqXkeU0c&open=AaGK2RyG_L0gwqXkeU0c&pullRequest=19058

Check warning on line 216 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/airgap/IoTDBAirGapReceiver.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this expression which always evaluates to "true"

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

Check warning on line 89 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/LocalExecutionPlanContext.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make this private field "final", it is never reassigned.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGK2UU-_L0gwqXkeU2D&open=AaGK2UU-_L0gwqXkeU2D&pullRequest=19058

Check warning on line 78 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/io/CompactionTsFileWriter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add the "@Override" annotation above this method signature

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

Check warning on line 558 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make this private field "final", it is never reassigned.

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

Check warning on line 63 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/subscription/topic/DropTopicProcedure.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This class has 6 parents which is greater than 5 authorized.

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

Check warning on line 34 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/schema/InternalDatabaseUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Single-line Javadoc comment should be multi-line.

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

Check warning on line 138 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/WALManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 147).

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

Check warning on line 19 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/io/WALFormatException.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'package' should be separated from previous line.

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

Check warning on line 29 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/snapshot/SnapshotFileUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'}' at column 32 should be alone on a line.

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

Check warning on line 1733 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/schema/ClusterSchemaManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

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

Check warning on line 88 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/LocalExecutionPlanContext.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make this private field "final", it is never reassigned.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGK2UU-_L0gwqXkeU2C&open=AaGK2UU-_L0gwqXkeU2C&pullRequest=19058

Check warning on line 257 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/memory/MemoryPool.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 113).

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

Check warning on line 99 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/parser/scan/SinglePageWholeChunkReader.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.io.IOException', as it cannot be thrown from method's body.

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

Check warning on line 688 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 110).

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

Check warning on line 697 in iotdb-client/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBJDBCResultSet.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 '646'.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 82 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/repair/RepairDataFileScanUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make this private field "final", it is never reassigned.

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

Check warning on line 557 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/source/FileLoaderUtils.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=AaGK2UyC_L0gwqXkeU2L&open=AaGK2UyC_L0gwqXkeU2L&pullRequest=19058

Check warning on line 251 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/memory/MemoryPool.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'method call' child has incorrect indentation level 14, expected level should be 16.

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

Check warning on line 19 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/fragment/QueryChunkReaders.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'package' should be separated from previous line.

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

Check warning on line 274 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/utils/WALFileUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the "new long[]" prefix; the declaration already specifies the array type.

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