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 2021/07/28 07:01:04 UTC

[iotdb] branch autoai_debug updated: remove force wal log

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

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


The following commit(s) were added to refs/heads/autoai_debug by this push:
     new 14d84c8  remove force wal log
14d84c8 is described below

commit 14d84c8b5b65fc7aa62e15e5449ffab58e37846d
Author: qiaojialin <64...@qq.com>
AuthorDate: Wed Jul 28 15:00:29 2021 +0800

    remove force wal log
---
 .../java/org/apache/iotdb/db/writelog/node/ExclusiveWriteLogNode.java   | 2 --
 1 file changed, 2 deletions(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/writelog/node/ExclusiveWriteLogNode.java b/server/src/main/java/org/apache/iotdb/db/writelog/node/ExclusiveWriteLogNode.java
index c4ca5eb..bd86d55 100644
--- a/server/src/main/java/org/apache/iotdb/db/writelog/node/ExclusiveWriteLogNode.java
+++ b/server/src/main/java/org/apache/iotdb/db/writelog/node/ExclusiveWriteLogNode.java
@@ -264,7 +264,6 @@ public class ExclusiveWriteLogNode implements WriteLogNode, Comparable<Exclusive
   }
 
   private void forceWal() {
-    logger.warn("[WAL] {} forceWal start", this.hashCode());
     long start = System.nanoTime();
     lock.lock();
     try {
@@ -282,7 +281,6 @@ public class ExclusiveWriteLogNode implements WriteLogNode, Comparable<Exclusive
     if (elapse > 3_000_000_000L) {
       logger.warn("[WAL] {} flushBuffer write log cost {}ms", this.hashCode(), elapse / 1_000_000L);
     }
-    logger.warn("[WAL] {} forceWal end", this.hashCode());
   }
 
   private void sync() {