This is an automated email from the ASF dual-hosted git repository.

spricoder pushed a commit to branch feature/memory_auto
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/feature/memory_auto by this 
push:
     new 4f61ff477c7 Add Config
4f61ff477c7 is described below

commit 4f61ff477c7d1050f0e1e39f8fa57bd9de429a59
Author: spricoder <[email protected]>
AuthorDate: Mon Mar 3 20:34:47 2025 +0800

    Add Config
---
 .../iotdb/db/schemaengine/rescon/MemSchemaEngineStatistics.java       | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/rescon/MemSchemaEngineStatistics.java
 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/rescon/MemSchemaEngineStatistics.java
index e6c44c52e43..32416255e09 100644
--- 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/rescon/MemSchemaEngineStatistics.java
+++ 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/rescon/MemSchemaEngineStatistics.java
@@ -22,6 +22,8 @@ package org.apache.iotdb.db.schemaengine.rescon;
 import org.apache.iotdb.commons.memory.IMemoryBlock;
 import org.apache.iotdb.commons.memory.MemoryBlockType;
 import org.apache.iotdb.commons.memory.MemoryConfig;
+import org.apache.iotdb.db.conf.IoTDBConfig;
+import org.apache.iotdb.db.conf.IoTDBDescriptor;
 import org.apache.iotdb.db.schemaengine.SchemaEngine;
 import org.apache.iotdb.db.schemaengine.template.ClusterTemplateManager;
 
@@ -36,7 +38,7 @@ import java.util.concurrent.atomic.AtomicLong;
 public class MemSchemaEngineStatistics implements ISchemaEngineStatistics {
 
   private static final Logger logger = 
LoggerFactory.getLogger(MemSchemaEngineStatistics.class);
-
+  private static final IoTDBConfig config = 
IoTDBDescriptor.getInstance().getConfig();
   // Total size of schema region
   private final IMemoryBlock memoryBlock;
   private final ClusterTemplateManager clusterTemplateManager =

Reply via email to