You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2019/07/08 09:36:31 UTC

[incubator-iotdb] branch f_add_info created (now f5058b6)

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

qiaojialin pushed a change to branch f_add_info
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git.


      at f5058b6  add info log

This branch includes the following new commits:

     new f5058b6  add info 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.



[incubator-iotdb] 01/01: add info log

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

qiaojialin pushed a commit to branch f_add_info
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit f5058b62dcefde99fd8c12265484df577a9ee715
Author: qiaojialin <64...@qq.com>
AuthorDate: Mon Jul 8 17:36:08 2019 +0800

    add info log
---
 .../java/org/apache/iotdb/db/engine/memtable/MemTableFlushTask.java | 6 +++---
 iotdb/src/main/java/org/apache/iotdb/db/rescon/MemTablePool.java    | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/iotdb/src/main/java/org/apache/iotdb/db/engine/memtable/MemTableFlushTask.java b/iotdb/src/main/java/org/apache/iotdb/db/engine/memtable/MemTableFlushTask.java
index e4cddf5..cea196c 100644
--- a/iotdb/src/main/java/org/apache/iotdb/db/engine/memtable/MemTableFlushTask.java
+++ b/iotdb/src/main/java/org/apache/iotdb/db/engine/memtable/MemTableFlushTask.java
@@ -83,7 +83,7 @@ public class MemTableFlushTask {
       encodingTaskQueue.add(new EndChunkGroupIoTask(memTable.getVersion()));
     }
     noMoreEncodingTask = true;
-    logger.debug(
+    logger.info(
         "Storage group {} memtable {}, flushing into disk: data sort time cost {} ms.",
         storageGroup, memTable.getVersion(), sortTime);
 
@@ -174,7 +174,7 @@ public class MemTableFlushTask {
         }
       }
       noMoreIOTask = true;
-      logger.debug("Storage group {}, flushing memtable {} into disk: Encoding data cost "
+      logger.info("Storage group {}, flushing memtable {} into disk: Encoding data cost "
               + "{} ms.",
           storageGroup, memTable.getVersion(), memSerializeTime);
     }
@@ -221,7 +221,7 @@ public class MemTableFlushTask {
           ioTime += System.currentTimeMillis() - starTime;
         }
       }
-      logger.debug("flushing a memtable {} in storage group {}, io cost {}ms", memTable.getVersion(),
+      logger.info("flushing a memtable {} in storage group {}, io cost {}ms", memTable.getVersion(),
           storageGroup, ioTime);
     };
 
diff --git a/iotdb/src/main/java/org/apache/iotdb/db/rescon/MemTablePool.java b/iotdb/src/main/java/org/apache/iotdb/db/rescon/MemTablePool.java
index 0a2d21c..c26128f 100644
--- a/iotdb/src/main/java/org/apache/iotdb/db/rescon/MemTablePool.java
+++ b/iotdb/src/main/java/org/apache/iotdb/db/rescon/MemTablePool.java
@@ -54,7 +54,7 @@ public class MemTablePool {
         return new PrimitiveMemTable();
       } else if (!availableMemTables.isEmpty()) {
         logger
-            .debug("system memtable size: {}, stack size: {}, then get a memtable from stack for {}",
+            .info("system memtable size: {}, stack size: {}, then get a memtable from stack for {}",
                 size, availableMemTables.size(), applier);
         return availableMemTables.pop();
       }
@@ -74,7 +74,7 @@ public class MemTablePool {
           logger.error("{} fails to wait fot memtables {}, continue to wait", applier, e);
           Thread.currentThread().interrupt();
         }
-        logger.debug("{} has waited for a memtable for {}ms", applier, waitCount++ * WAIT_TIME);
+        logger.info("{} has waited for a memtable for {}ms", applier, waitCount++ * WAIT_TIME);
       }
     }
   }