qiaojialin commented on a change in pull request #258: [IOTDB-143]Development 
of merge
URL: https://github.com/apache/incubator-iotdb/pull/258#discussion_r313201751
 
 

 ##########
 File path: 
server/src/main/java/org/apache/iotdb/db/engine/cache/TsFileMetadataUtils.java
 ##########
 @@ -95,6 +97,9 @@ public static TsDeviceMetadata getTsDeviceMetaData(String 
filePath, Path seriesP
         }
       }
     }
+    for (List<ChunkMetaData> chunkMetaDataList : 
pathToChunkMetaDataList.values()) {
+      
chunkMetaDataList.sort(Comparator.comparingLong(ChunkMetaData::getStartTime));
+    }
 
 Review comment:
   is it because of merge that makes them out-of-order?

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to