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

rong pushed a commit to branch rc/1.3.1
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/rc/1.3.1 by this push:
     new 01adcc14620 Ignore log: memtableId -9223372036854775808 not found in 
MemTableId2Info
01adcc14620 is described below

commit 01adcc146200060a6c1db84494757e059b9f2cf0
Author: Steve Yurong Su <[email protected]>
AuthorDate: Fri Mar 8 09:30:46 2024 +0800

    Ignore log: memtableId -9223372036854775808 not found in MemTableId2Info
---
 .../db/storageengine/dataregion/wal/checkpoint/CheckpointManager.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/checkpoint/CheckpointManager.java
 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/checkpoint/CheckpointManager.java
index 7d7ff0f76b4..3a7017af68d 100644
--- 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/checkpoint/CheckpointManager.java
+++ 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/checkpoint/CheckpointManager.java
@@ -369,7 +369,9 @@ public class CheckpointManager implements AutoCloseable {
   public int getRegionId(long memtableId) {
     final MemTableInfo info = memTableId2Info.get(memtableId);
     if (info == null) {
-      logger.warn("memtableId {} not found in MemTableId2Info", memtableId);
+      if (memtableId != Long.MIN_VALUE) {
+        logger.warn("memtableId {} not found in MemTableId2Info", memtableId);
+      }
       return -1;
     }
     return Integer.parseInt(info.getMemTable().getDataRegionId());

Reply via email to