ruanwenjun commented on code in PR #15278:
URL:
https://github.com/apache/dolphinscheduler/pull/15278#discussion_r1415585947
##########
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/GlobalTaskDispatchWaitingQueue.java:
##########
@@ -29,7 +27,7 @@
@Component
public class GlobalTaskDispatchWaitingQueue {
- private final PriorityBlockingQueue<DefaultTaskExecuteRunnable> queue =
new PriorityBlockingQueue<>();
+ private final DelayQueue<DefaultTaskExecuteRunnable> queue = new
DelayQueue<>();
Review Comment:
We cannot use PriorityQueue in TaskExecutor, since the task dispatch to
master/worker then it will loss priority, we control the priority at Master
dispatching
--
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]