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/10/21 08:10:49 UTC

[iotdb] branch rlog created (now 5f37bdd)

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

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


      at 5f37bdd  [To rel/0.12] Remove redundant log in TsFileProcessor

This branch includes the following new commits:

     new 5f37bdd  [To rel/0.12] Remove redundant log in TsFileProcessor

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: [To rel/0.12] Remove redundant log in TsFileProcessor

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

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

commit 5f37bdd48f23fb024c73021bd676db96af64009c
Author: HTHou <hh...@outlook.com>
AuthorDate: Thu Oct 21 16:09:09 2021 +0800

    [To rel/0.12] Remove redundant log in TsFileProcessor
---
 .../org/apache/iotdb/db/engine/storagegroup/TsFileProcessor.java     | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileProcessor.java b/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileProcessor.java
index e18610a..2fba8da 100644
--- a/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileProcessor.java
+++ b/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileProcessor.java
@@ -256,16 +256,11 @@ public class TsFileProcessor {
     }
 
     try {
-      long startTime = System.currentTimeMillis();
       if (IoTDBDescriptor.getInstance().getConfig().isEnableWal()) {
         insertTabletPlan.setStart(start);
         insertTabletPlan.setEnd(end);
         getLogNode().write(insertTabletPlan);
       }
-      long elapsed = System.currentTimeMillis() - startTime;
-      if (elapsed > 5000) {
-        logger.error("write wal slowly : cost {}ms", elapsed);
-      }
     } catch (Exception e) {
       for (int i = start; i < end; i++) {
         results[i] = RpcUtils.getStatus(TSStatusCode.INTERNAL_SERVER_ERROR, e.getMessage());