qiaojialin commented on a change in pull request #664: [IOTDB-333] Storage
group divide by time range
URL: https://github.com/apache/incubator-iotdb/pull/664#discussion_r361045508
##########
File path:
server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
##########
@@ -377,10 +413,16 @@ public void insert(InsertPlan insertPlan) throws
QueryProcessException {
latestFlushedTimeForEachDevice.putIfAbsent(batchInsertPlan.getDeviceId(),
Long.MIN_VALUE);
Integer[] results = new Integer[batchInsertPlan.getRowCount()];
- List<Integer> sequenceIndexes = new ArrayList<>();
- List<Integer> unsequenceIndexes = new ArrayList<>();
-
long lastFlushTime =
latestFlushedTimeForEachDevice.get(batchInsertPlan.getDeviceId());
+
+ /*
+ * sequence time range id -> indexes indicating which rows should be
inserted
Review comment:
```suggestion
* sequence time range id -> indexes indicating which rows in a batch
should be inserted
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services