liucongjy commented on code in PR #9951:
URL: https://github.com/apache/seatunnel/pull/9951#discussion_r2485138763
##########
seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/rest/service/JobInfoService.java:
##########
@@ -134,6 +134,13 @@ public JsonArray getRunningJobsJson() {
nodeEngine.getHazelcastInstance().getMap(Constant.IMAP_RUNNING_JOB_INFO);
return values.entrySet().stream()
.map(jobInfoEntry -> convertToJson(jobInfoEntry.getValue(),
jobInfoEntry.getKey()))
+ .sorted(
Review Comment:
The JobId is manually passed in and may not guarantee order, so it has been
changed to use the InitializationTimestamp of the JobInfo for sorting.
--
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]