BePPPower commented on code in PR #47604:
URL: https://github.com/apache/doris/pull/47604#discussion_r1948503428


##########
fe/fe-core/src/main/java/org/apache/doris/load/ExportMgr.java:
##########
@@ -543,6 +544,23 @@ public void removeOldExportJobs() {
                     }
                 }
             }
+
+            int maximumHistoryJobNum = Config.maximum_history_job_num;
+            List<Map.Entry<Long, ExportJob>> jobList = new 
ArrayList<>(exportIdToJob.entrySet());
+            jobList.sort(Comparator.comparingLong(entry -> 
entry.getValue().getCreateTimeMs()));

Review Comment:
   done



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to