Skip to content

Fix sequence space overlap caused by out-of-order tablets - #19035

Open
ColinLeeo wants to merge 6 commits into
masterfrom
fix/tablet-out-of-order-seq-overlap
Open

ColinLeeo wants to merge 6 commits into
masterfrom
fix/tablet-out-of-order-seq-overlap

Fix spotless formatting after merge conflict resolution

a40420e
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 13, 2026 in 4m 58s

Quality Gate failed

Failed conditions
C 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 82 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/disk/FolderManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'DiskSpaceInsufficientException'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHURgAXrm7QXUVH_-ZT&open=AaHURgAXrm7QXUVH_-ZT&pullRequest=19035

Check warning on line 199 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/service/UDFClassLoaderManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHURf03rm7QXUVH_-ZF&open=AaHURf03rm7QXUVH_-ZF&pullRequest=19035

Check warning on line 157 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/sql/ast/InsertValues.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof Row row'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHURh6Urm7QXUVH_-Zw&open=AaHURh6Urm7QXUVH_-Zw&pullRequest=19035

Check warning on line 196 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/statement/crud/InsertRowsStatement.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHURixQrm7QXUVH_-aB&open=AaHURixQrm7QXUVH_-aB&pullRequest=19035

Check warning on line 136 in iotdb-client/subscription/src/main/java/org/apache/iotdb/session/subscription/consumer/table/SubscriptionTablePushConsumerBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHURn2nrm7QXUVH_-a5&open=AaHURn2nrm7QXUVH_-a5&pullRequest=19035

Check warning on line 197 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/pipe/coordinator/runtime/PipeMetaSyncer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 122).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHURm-Yrm7QXUVH_-at&open=AaHURm-Yrm7QXUVH_-at&pullRequest=19035

Check warning on line 134 in iotdb-client/subscription/src/main/java/org/apache/iotdb/session/subscription/consumer/table/SubscriptionTablePullConsumerBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHURn2Lrm7QXUVH_-a4&open=AaHURn2Lrm7QXUVH_-a4&pullRequest=19035

Check warning on line 37 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/sorter/TableModelTabletEventSorter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the "initIndexSize" field and declare it as a local variable in the relevant methods.

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

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

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=AaHUUb4RcZVw8yIULmxQ&open=AaHUUb4RcZVw8yIULmxQ&pullRequest=19035

Check warning on line 187 in iotdb-client/subscription/src/main/java/org/apache/iotdb/session/subscription/consumer/base/AbstractSubscriptionProvider.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHURoGArm7QXUVH_-a-&open=AaHURoGArm7QXUVH_-a-&pullRequest=19035

Check failure on line 42 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/agent/task/execution/PipeProcessorSubtaskExecutor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this usage of "super", it is annotated with @VisibleForTesting and should not be accessed from production code.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHURk8Vrm7QXUVH_-ac&open=AaHURk8Vrm7QXUVH_-ac&pullRequest=19035

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

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHURn7prm7QXUVH_-a6&open=AaHURn7prm7QXUVH_-a6&pullRequest=19035

Check warning on line 959 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/broker/consensus/ConsensusSubscriptionCommitManager.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=AaHURmBurm7QXUVH_-al&open=AaHURmBurm7QXUVH_-al&pullRequest=19035

Check warning on line 127 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/splitter/BatchedAlignedValueChunkData.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=AaHURg4_rm7QXUVH_-ZZ&open=AaHURg4_rm7QXUVH_-ZZ&pullRequest=19035

Check warning on line 124 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tablet/PipeRawTabletInsertionEvent.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHURlIqrm7QXUVH_-ag&open=AaHURlIqrm7QXUVH_-ag&pullRequest=19035

Check warning on line 64 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/UDFTable.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHURf5Urm7QXUVH_-ZM&open=AaHURf5Urm7QXUVH_-ZM&pullRequest=19035

Check warning on line 181 in iotdb-client/subscription/src/main/java/org/apache/iotdb/session/subscription/consumer/base/AbstractSubscriptionConsumerBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHURoB9rm7QXUVH_-a9&open=AaHURoB9rm7QXUVH_-a9&pullRequest=19035

Check warning on line 73 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/queryengine/common/SessionInfo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the "transient" modifier from this field.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHURbf_rm7QXUVH_-Y7&open=AaHURbf_rm7QXUVH_-Y7&pullRequest=19035

Check failure on line 90 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/fragment/QueryAttemptRegistry.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHURkK2rm7QXUVH_-aT&open=AaHURkK2rm7QXUVH_-aT&pullRequest=19035

Check warning on line 165 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/service/UDFClassLoaderManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHURf03rm7QXUVH_-ZD&open=AaHURf03rm7QXUVH_-ZD&pullRequest=19035

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

Replace this instanceof check and cast with 'instanceof LongLiteral longliteral'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHURhkcrm7QXUVH_-Zj&open=AaHURhkcrm7QXUVH_-Zj&pullRequest=19035

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

Check warning on line 188 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/sql/ast/InsertValues.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHURh6Urm7QXUVH_-Zy&open=AaHURh6Urm7QXUVH_-Zy&pullRequest=19035

Check warning on line 230 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/conf/ConfigNodeDescriptor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 109).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHURnuwrm7QXUVH_-a2&open=AaHURnuwrm7QXUVH_-a2&pullRequest=19035

Check failure on line 4821 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/DataRegion.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHURgxGrm7QXUVH_-ZY&open=AaHURgxGrm7QXUVH_-ZY&pullRequest=19035