You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2021/01/14 06:29:25 UTC

[iotdb] branch hhoom created (now c39c5a9)

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

haonan pushed a change to branch hhoom
in repository https://gitbox.apache.org/repos/asf/iotdb.git.


      at c39c5a9  add log

This branch includes the following new commits:

     new c39c5a9  add log

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[iotdb] 01/01: add log

Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch hhoom
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit c39c5a9dc509ab9030c420dbdbbb9c972d2c6c8a
Author: HTHou <hh...@outlook.com>
AuthorDate: Thu Jan 14 14:28:12 2021 +0800

    add log
---
 server/src/main/java/org/apache/iotdb/db/rescon/MemTableManager.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/server/src/main/java/org/apache/iotdb/db/rescon/MemTableManager.java b/server/src/main/java/org/apache/iotdb/db/rescon/MemTableManager.java
index 674711f..2e51abe 100644
--- a/server/src/main/java/org/apache/iotdb/db/rescon/MemTableManager.java
+++ b/server/src/main/java/org/apache/iotdb/db/rescon/MemTableManager.java
@@ -51,6 +51,7 @@ public class MemTableManager {
       throws WriteProcessException {
     if (!reachMaxMemtableNumber()) {
       currentMemtableNumber++;
+      logger.info("create a new memtable, current number is {}", currentMemtableNumber);
       return new PrimitiveMemTable();
     } else {
       // wait until the total number of memtable is less than the system capacity
@@ -58,6 +59,7 @@ public class MemTableManager {
       while (true) {
         if (!reachMaxMemtableNumber()) {
           currentMemtableNumber++;
+          logger.info("create a new memtable, current number is {}", currentMemtableNumber);
           return new PrimitiveMemTable();
         }
         try {