Skip to content

Pipe: dynamically share idle floating memory with TsFile sync - #18422

Merged
jt2594838 merged 1 commit into
masterfrom
fix/timechod-0532-pipe-memory
Aug 10, 2026
Merged

Pipe: dynamically share idle floating memory with TsFile sync#18422
jt2594838 merged 1 commit into
masterfrom
fix/timechod-0532-pipe-memory

Pipe: dynamically share idle floating memory

17f452c
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 7, 2026 in 3m 6s

Annotations

Check warning on line 63 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/subscription/meta/topic/TopicMetaKeeper.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused method parameter "topicName".

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

Check warning on line 257 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadDirScanner.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=AZ_aovkQJ2Yg3sB_5xq5&open=AZ_aovkQJ2Yg3sB_5xq5&pullRequest=18422

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

Remove this unnecessary cast to "double".

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

Check warning on line 541 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/broker/consensus/ProgressWALIterator.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=AZ_aovvFJ2Yg3sB_5xq9&open=AZ_aovvFJ2Yg3sB_5xq9&pullRequest=18422

Check warning on line 122 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/subscription/meta/topic/TopicMetaKeeper.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless assignment to local variable "topicName".

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

Check warning on line 1608 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 136).

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

Check warning on line 178 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/subscription/meta/consumer/ConsumerGroupMeta.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 155).

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

Check warning on line 758 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/AlignedWritableMemChunk.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge the previous cases into this one using comma-separated label.

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

Check warning on line 707 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/AlignedWritableMemChunk.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=AZ_aovj5J2Yg3sB_5xqx&open=AZ_aovj5J2Yg3sB_5xqx&pullRequest=18422

Check warning on line 152 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/subscription/meta/topic/TopicMetaKeeper.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A single-line comment should start with exactly two slashes, no more.

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

Check warning on line 798 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/AlignedWritableMemChunk.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge the previous cases into this one using comma-separated label.

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

Check failure on line 191 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadDirScanner.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 768 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/AlignedWritableMemChunk.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge the previous cases into this one using comma-separated label.

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

Check warning on line 162 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/broker/consensus/ProgressWALIterator.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=AZ_aovvFJ2Yg3sB_5xq8&open=AZ_aovvFJ2Yg3sB_5xq8&pullRequest=18422

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

Remove this unnecessary cast to "double".

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

Check failure on line 687 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/AlignedWritableMemChunk.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 694 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/AlignedWritableMemChunk.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "dataTypes" which hides the field declared at line 69.

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

Check warning on line 1598 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 123).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_aov40J2Yg3sB_5xq-&open=AZ_aov40J2Yg3sB_5xq-&pullRequest=18422

Check failure on line 843 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/AlignedWritableMemChunk.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 122 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/subscription/meta/topic/TopicMetaKeeper.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "topicName" local variable.

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