Skip to content

Fixed the insertion NPE bug with out of ttl and pipe - #19124

Open
Caideyipi wants to merge 5 commits into
masterfrom
primitive
Open

Caideyipi wants to merge 5 commits into
masterfrom
primitive

Update IoTDBInsertTableIT.java

4a6222a
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 4, 2026 in 8m 37s

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 1165 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/subscription/SubscriptionInfo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 119).

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

Check warning on line 461 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 104).

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

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=AaGll5jVMxCrzpLrvvZQ&open=AaGll5jVMxCrzpLrvvZQ&pullRequest=19124

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 159).

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

Check warning on line 806 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/StorageEngine.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=AaGll4LxMxCrzpLrvvYz&open=AaGll4LxMxCrzpLrvvYz&pullRequest=19124

Check warning on line 189 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/iterative/rule/TransformCorrelatedScalarSubquery.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=AaGll4WeMxCrzpLrvvY1&open=AaGll4WeMxCrzpLrvvY1&pullRequest=19124

Check warning on line 1674 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/broker/consensus/ConsensusPrefetchingQueue.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 174).

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

Check warning on line 3956 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/execution/config/executor/ClusterConfigTaskExecutor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 133).

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

Check warning on line 81 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/client/async/handlers/rpc/CountPathsUsingTemplateRPCHandler.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=AaGlmBY9MxCrzpLrvvdm&open=AaGlmBY9MxCrzpLrvvdm&pullRequest=19124

Check warning on line 113 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/schema/ConfigMTree.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 183).

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

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

Line is longer than 100 characters (found 172).

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

Check warning on line 474 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/pipe/PipePluginInfo.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=AaGlmA8RMxCrzpLrvvdT&open=AaGlmA8RMxCrzpLrvvdT&pullRequest=19124

Check warning on line 805 in iotdb-core/datanode/src/main/i18n/en/org/apache/iotdb/db/i18n/DataNodeSchemaMessages.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=AaGll-qQMxCrzpLrvvcP&open=AaGll-qQMxCrzpLrvvcP&pullRequest=19124

Check warning on line 764 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/subscription/SubscriptionInfo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 164).

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

Check warning on line 4822 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/broker/consensus/ConsensusPrefetchingQueue.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof WALNode walnode'

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

Check warning on line 174 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 125).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGll8-UMxCrzpLrvvao&open=AaGll8-UMxCrzpLrvvao&pullRequest=19124

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=AaGll6gxMxCrzpLrvvZp&open=AaGll6gxMxCrzpLrvvZp&pullRequest=19124

Check warning on line 346 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/pipe/PipePluginInfo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 106).

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

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

Replace this instanceof check and cast with 'instanceof TreeDeletionEntry treedeletionentry'

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 140).

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

Check warning on line 472 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 180).

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

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

Line is longer than 100 characters (found 102).

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

Check warning on line 267 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/processor/twostage/exchange/sender/TwoStageAggregateSender.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=AaGll8hpMxCrzpLrvvaK&open=AaGll8hpMxCrzpLrvvaK&pullRequest=19124

Check warning on line 148 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/broker/SubscriptionPrefetchingTsFileQueue.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=AaGll9dRMxCrzpLrvva9&open=AaGll9dRMxCrzpLrvva9&pullRequest=19124

Check warning on line 989 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/agent/task/PipeTaskAgent.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 158).

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