You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ej...@apache.org on 2020/12/11 03:45:16 UTC

[iotdb] 06/06: fix v1

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

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

commit 5ae682a14e64545ac0f4db64038e614c49ef2594
Author: EJTTianyu <16...@qq.com>
AuthorDate: Wed Dec 9 19:59:59 2020 +0800

    fix v1
---
 .../org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java b/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
index 7025017..ec160c0 100755
--- a/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
+++ b/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
@@ -925,7 +925,7 @@ public class StorageGroupProcessor {
    */
   private boolean isInsertToFlushingMemTable(long timePartitionId, InsertRowPlan insertRowPlan){
     return flushingLatestTimeForEachDevice.get(timePartitionId).
-        getOrDefault(insertRowPlan.getDeviceId().getFullPath(), Long.MIN_VALUE) > insertRowPlan.getTime();
+        getOrDefault(insertRowPlan.getDeviceId().getFullPath(), Long.MIN_VALUE) >= insertRowPlan.getTime();
   }
 
   private void tryToUpdateInsertLastCache(InsertRowPlan plan, Long latestFlushedTime) {