SteveYurongSu commented on code in PR #11478:
URL: https://github.com/apache/iotdb/pull/11478#discussion_r1383142664


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/extractor/historical/PipeHistoricalDataRegionTsFileExtractor.java:
##########
@@ -287,6 +291,11 @@ && 
isTsFileGeneratedAfterExtractionTimeLowerBound(resource))
               }
             });
 
+        // progress index topological sort
+        resourceList.sort(
+            (Comparator.comparing(o -> 
o.getMaxProgressIndex().getTotalOrderSumTuple())));
+        pendingQueue = new ArrayDeque<>(resourceList);
+
         LOGGER.info(

Review Comment:
   add some processing time info here.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to