You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ji...@apache.org on 2019/04/19 05:08:56 UTC

[incubator-iotdb] branch refactor_mem_controller updated: fix missed MemDataSize

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

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


The following commit(s) were added to refs/heads/refactor_mem_controller by this push:
     new 94cb87b  fix missed MemDataSize
94cb87b is described below

commit 94cb87bad690109fad13fc903113c9c0548c3476
Author: 江天 <jt...@163.com>
AuthorDate: Fri Apr 19 13:07:38 2019 +0800

    fix missed MemDataSize
---
 .../org/apache/iotdb/db/engine/bufferwrite/BufferWriteProcessor.java     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/iotdb/src/main/java/org/apache/iotdb/db/engine/bufferwrite/BufferWriteProcessor.java b/iotdb/src/main/java/org/apache/iotdb/db/engine/bufferwrite/BufferWriteProcessor.java
index 7a03d70..7586c53 100644
--- a/iotdb/src/main/java/org/apache/iotdb/db/engine/bufferwrite/BufferWriteProcessor.java
+++ b/iotdb/src/main/java/org/apache/iotdb/db/engine/bufferwrite/BufferWriteProcessor.java
@@ -192,6 +192,7 @@ public class BufferWriteProcessor extends Processor {
               tsRecord.time,
               dataPoint.getValue().toString());
         }
+        memDataSize.addAndGet(memUsage);
         valueCount++;
         try {
           flush();