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 2020/12/08 05:50:16 UTC

[iotdb] branch fix_mc created (now 62a4f63)

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

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


      at 62a4f63  fix mem control calculate twice

This branch includes the following new commits:

     new 62a4f63  fix mem control calculate twice

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: fix mem control calculate twice

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

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

commit 62a4f63d718ccdfbd319ad963d3abcc2923eba57
Author: HTHou <hh...@outlook.com>
AuthorDate: Tue Dec 8 13:49:31 2020 +0800

    fix mem control calculate twice
---
 .../java/org/apache/iotdb/db/engine/storagegroup/TsFileProcessor.java  | 3 ---
 1 file changed, 3 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 83ed159..a94021b 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
@@ -229,9 +229,6 @@ public class TsFileProcessor {
       throw new WriteProcessException(e);
     }
     try {
-      if (enableMemControl) {
-        checkMemCostAndAddToTspInfo(insertTabletPlan, start, end);
-      }
       workMemTable.insertTablet(insertTabletPlan, start, end);
       if (IoTDBDescriptor.getInstance().getConfig().isEnableWal()) {
         insertTabletPlan.setStart(start);