Skip to content

Fix table TTL reset propagation to DataNodes - #19110

Draft
Caideyipi wants to merge 2 commits into
masterfrom
fix/table-ttl-default-propagation
Draft

Caideyipi wants to merge 2 commits into
masterfrom
fix/table-ttl-default-propagation

Fix table TTL default reset consistency

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

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 1222 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 113).

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

Check warning on line 68 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=AaGkPdPg1zV7SpaJCXTR&open=AaGkPdPg1zV7SpaJCXTR&pullRequest=19110

Check warning on line 201 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/tool/OverlapStatisticTool.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=AaGkPXCy1zV7SpaJCXPx&open=AaGkPXCy1zV7SpaJCXPx&pullRequest=19110

Check warning on line 433 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=AaGkPamh1zV7SpaJCXRE&open=AaGkPamh1zV7SpaJCXRE&pullRequest=19110

Check warning on line 513 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/writeback/WriteBackSink.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=AaGkPbFM1zV7SpaJCXRQ&open=AaGkPbFM1zV7SpaJCXRQ&pullRequest=19110

Check warning on line 568 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/source/dataregion/historical/PipeHistoricalDataRegionTsFileAndDeletionSource.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=AaGkPbn21zV7SpaJCXRW&open=AaGkPbn21zV7SpaJCXRW&pullRequest=19110

Check warning on line 803 in iotdb-client/cli/src/main/i18n/en/org/apache/iotdb/cli/i18n/CliMessages.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=AaGkPi_-1zV7SpaJCXV7&open=AaGkPi_-1zV7SpaJCXV7&pullRequest=19110

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this lambda with method reference 'Object::toString'.

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

Check warning on line 244 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=AaGkPb1q1zV7SpaJCXRi&open=AaGkPb1q1zV7SpaJCXRi&pullRequest=19110

Check warning on line 47 in iotdb-core/calc-commons/src/main/java/org/apache/iotdb/calc/execution/operator/source/relational/aggregation/RecordIterator.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=AaGkPdot1zV7SpaJCXTa&open=AaGkPdot1zV7SpaJCXTa&pullRequest=19110

Check warning on line 1124 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 128).

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

Check warning on line 59 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/IoTDBDataDirViewer.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=AaGkPdEQ1zV7SpaJCXS4&open=AaGkPdEQ1zV7SpaJCXS4&pullRequest=19110

Check failure on line 678 in iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 227 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 133).

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

Check warning on line 1695 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 186).

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

Check warning on line 849 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/partition/DataPartitionTableIntegrityCheckProcedure.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 126).

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

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=AaGkPiy-1zV7SpaJCXVu&open=AaGkPiy-1zV7SpaJCXVu&pullRequest=19110

Check warning on line 178 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 148).

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

Check warning on line 157 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/metadata/fetcher/cache/TableDeviceLastCache.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 '142'.

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

Check warning on line 230 in iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 134).

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

Check warning on line 1606 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ConfigManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 130).

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

Check warning on line 190 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 114).

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

Check warning on line 285 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=AaGkPfin1zV7SpaJCXUb&open=AaGkPfin1zV7SpaJCXUb&pullRequest=19110

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

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

Check warning on line 523 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/thrift/IoTDBDataNodeReceiver.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'try' child has incorrect indentation level 18, expected level should be 16.

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