Skip to content

Prevent tree last-cache updates from restoring deleted schemas - #19171

Open
Caideyipi wants to merge 1 commit into
masterfrom
codex/pr-tree-last-cache-schema-isolation
Open

Caideyipi wants to merge 1 commit into
masterfrom
codex/pr-tree-last-cache-schema-isolation

Prevent tree last-cache updates from restoring schema

3002d3f
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 6, 2026 in 8m 35s

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 2487 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/security/TreeAccessCheckVisitor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 161).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGwoH_DPW-ZkkJQHERM&open=AaGwoH_DPW-ZkkJQHERM&pullRequest=19171

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=AaGwoNIRPW-ZkkJQHETV&open=AaGwoNIRPW-ZkkJQHETV&pullRequest=19171

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGwoIeRPW-ZkkJQHERZ&open=AaGwoIeRPW-ZkkJQHERZ&pullRequest=19171

Check warning on line 417 in iotdb-client/cli/src/main/java/org/apache/iotdb/tool/common/Constants.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 169).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGwoVDfPW-ZkkJQHEXH&open=AaGwoVDfPW-ZkkJQHEXH&pullRequest=19171

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=AaGwoMgtPW-ZkkJQHES8&open=AaGwoMgtPW-ZkkJQHES8&pullRequest=19171

Check warning on line 61 in library-udf/src/main/java/org/apache/iotdb/library/frequency/UDTFIDWT.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 105).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGwoTekPW-ZkkJQHEWY&open=AaGwoTekPW-ZkkJQHEWY&pullRequest=19171

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

Replace this instanceof check and cast with 'instanceof AirGapPseudoTPipeTransferRequest airgappseudotpipetransferrequest'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGwoMNoPW-ZkkJQHESk&open=AaGwoMNoPW-ZkkJQHESk&pullRequest=19171

Check warning on line 113 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/utils/TsFileRewriteOverPrecisedI64Scan.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=AaGwoOGZPW-ZkkJQHEUH&open=AaGwoOGZPW-ZkkJQHEUH&pullRequest=19171

Check warning on line 85 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/tool/PrintUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 101).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGwoGCNPW-ZkkJQHEQn&open=AaGwoGCNPW-ZkkJQHEQn&pullRequest=19171

Check warning on line 792 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 165).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGwoRlnPW-ZkkJQHEWC&open=AaGwoRlnPW-ZkkJQHEWC&pullRequest=19171

Check warning on line 345 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/parser/ASTVisitor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 166).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGwoJmaPW-ZkkJQHER0&open=AaGwoJmaPW-ZkkJQHER0&pullRequest=19171

Check warning on line 347 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/load/LoadTsFileTableSchemaCache.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=AaGwoJEuPW-ZkkJQHERj&open=AaGwoJEuPW-ZkkJQHERj&pullRequest=19171

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=AaGwoNSPPW-ZkkJQHETj&open=AaGwoNSPPW-ZkkJQHETj&pullRequest=19171

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=AaGwoRS6PW-ZkkJQHEVz&open=AaGwoRS6PW-ZkkJQHEVz&pullRequest=19171

Check warning on line 528 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=AaGwoMNoPW-ZkkJQHESn&open=AaGwoMNoPW-ZkkJQHESn&pullRequest=19171

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGwoRG-PW-ZkkJQHEVs&open=AaGwoRG-PW-ZkkJQHEVs&pullRequest=19171

Check warning on line 398 in iotdb-client/cli/src/main/java/org/apache/iotdb/tool/common/Constants.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 210).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGwoVDfPW-ZkkJQHEXE&open=AaGwoVDfPW-ZkkJQHEXE&pullRequest=19171

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=AaGwoRLnPW-ZkkJQHEVv&open=AaGwoRLnPW-ZkkJQHEVv&pullRequest=19171

Check warning on line 224 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 129).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGwoV7aPW-ZkkJQHEXm&open=AaGwoV7aPW-ZkkJQHEXm&pullRequest=19171

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGwoNOtPW-ZkkJQHETd&open=AaGwoNOtPW-ZkkJQHETd&pullRequest=19171

Check warning on line 257 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 124).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGwoNaVPW-ZkkJQHETp&open=AaGwoNaVPW-ZkkJQHETp&pullRequest=19171

Check warning on line 1175 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=AaGwoUfyPW-ZkkJQHEWn&open=AaGwoUfyPW-ZkkJQHEWn&pullRequest=19171

Check warning on line 24 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/sink/payload/airgap/AirGapPseudoTPipeTransferRequest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Override the "equals" method in this class.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGwoD6oPW-ZkkJQHEP9&open=AaGwoD6oPW-ZkkJQHEP9&pullRequest=19171

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=AaGwoOWKPW-ZkkJQHEUd&open=AaGwoOWKPW-ZkkJQHEUd&pullRequest=19171

Check warning on line 360 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/parser/ASTVisitor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 233).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGwoJmaPW-ZkkJQHER3&open=AaGwoJmaPW-ZkkJQHER3&pullRequest=19171