Skip to content

Optimize memtable region scan (#16883)

7641d6e
Select commit
Loading
Failed to load commit list.
Merged

[to dev/1.3] Optimize memtable region scan #16891

Optimize memtable region scan (#16883)
7641d6e
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Dec 10, 2025 in 7m 16s

Quality Gate failed

Annotations

Check warning on line 1776 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/AnalyzeVisitor.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=AZsGPQZPTtZoSj_GPAH2&open=AZsGPQZPTtZoSj_GPAH2&pullRequest=16891

Check warning on line 36 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/response/model/GetModelInfoResp.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 54 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/response/model/GetModelInfoResp.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 61 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/write/model/DropModelInNodePlan.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'if' construct must use '{}'s.

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

Check warning on line 58 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/response/model/GetModelInfoResp.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check failure on line 263 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/ModelInfo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this "try" to a try-with-resources.

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

Check warning on line 45 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/parameter/model/ModelInferenceDescriptor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 101 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/model/DropModelProcedure.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 101 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/parameter/model/ModelInferenceDescriptor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 55 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/client/async/AsyncDataNodeHeartbeatClientPool.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=AZsGPUKSTtZoSj_GPAIK&open=AZsGPUKSTtZoSj_GPAIK&pullRequest=16891

Check warning on line 1783 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/AnalyzeVisitor.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=AZsGPQZPTtZoSj_GPAH3&open=AZsGPQZPTtZoSj_GPAH3&pullRequest=16891

Check warning on line 39 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/parameter/model/ModelInferenceDescriptor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 60 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/write/model/DropModelInNodePlan.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'if' construct must use '{}'s.

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

Check warning on line 265 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/process/ai/InferenceOperator.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=AZsGPRNsTtZoSj_GPAH8&open=AZsGPRNsTtZoSj_GPAH8&pullRequest=16891

Check warning on line 138 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/model/CreateModelProcedure.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=AZsGPTltTtZoSj_GPAH-&open=AZsGPTltTtZoSj_GPAH-&pullRequest=16891

Check warning on line 35 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/response/model/GetModelInfoResp.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 50 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/response/model/GetModelInfoResp.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 54 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/response/model/GetModelInfoResp.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

First sentence of Javadoc is missing an ending period.

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

Check warning on line 246 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/ModelInfo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 79 in iotdb-core/datanode/src/test/java/org/apache/iotdb/db/storageengine/dataregion/memtable/WritableMemChunkRegionScanTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce the number of assertions from 44 to less than 25.

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

Check warning on line 1823 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/AnalyzeVisitor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 118).

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