This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 57e89eae908 Datanode cannot start when metaDataCacheEnable=false
57e89eae908 is described below
commit 57e89eae90872f4aabf56fc7a0267123c9014bec
Author: shuwenwei <[email protected]>
AuthorDate: Fri May 16 10:24:10 2025 +0800
Datanode cannot start when metaDataCacheEnable=false
---
.../src/main/java/org/apache/iotdb/db/conf/DataNodeMemoryConfig.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/DataNodeMemoryConfig.java
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/DataNodeMemoryConfig.java
index 695c25aeddb..efb6758066f 100644
---
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/DataNodeMemoryConfig.java
+++
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/DataNodeMemoryConfig.java
@@ -473,9 +473,7 @@ public class DataNodeMemoryConfig {
// metadata cache is disabled, we need to move all their allocated memory
to other parts
if (!isMetaDataCacheEnable()) {
long sum =
- bloomFilterCacheMemoryManager.getTotalMemorySizeInBytes()
- + chunkCacheMemoryManager.getTotalMemorySizeInBytes()
- +
timeSeriesMetaDataCacheMemoryManager.getTotalMemorySizeInBytes();
+ bloomFilterCacheMemorySize + chunkCacheMemorySize +
timeSeriesMetaDataCacheMemorySize;
bloomFilterCacheMemorySize = 0;
chunkCacheMemorySize = 0;
timeSeriesMetaDataCacheMemorySize = 0;