From 6db1c9de36088479849b6a5742014d431a1cc611 Mon Sep 17 00:00:00 2001 From: answerliao Date: Thu, 9 May 2024 17:59:03 +0800 Subject: [PATCH] [Fix] After the remove method removes the Server address, the refreshMasterList method needs to be executed. #15964 --- .../dolphinscheduler/service/queue/MasterPriorityQueue.java | 1 + 1 file changed, 1 insertion(+) diff --git a/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/queue/MasterPriorityQueue.java b/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/queue/MasterPriorityQueue.java index d4fe74cd9f..bfe3b64836 100644 --- a/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/queue/MasterPriorityQueue.java +++ b/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/queue/MasterPriorityQueue.java @@ -71,6 +71,7 @@ public class MasterPriorityQueue implements TaskPriorityQueue { public void remove(Server server) { this.queue.remove(server); + refreshMasterList(); } public void clear() {