You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "adarshsanjeev (via GitHub)" <gi...@apache.org> on 2023/04/26 07:43:23 UTC
[GitHub] [druid] adarshsanjeev commented on a diff in pull request #14166: Relaunch track of failed workers without work orders
adarshsanjeev commented on code in PR #14166:
URL: https://github.com/apache/druid/pull/14166#discussion_r1177472792
##########
extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/indexing/MSQWorkerTaskLauncher.java:
##########
@@ -221,6 +225,17 @@ public List<String> getActiveTasks()
*/
public void launchTasksIfNeeded(final int taskCount) throws InterruptedException
{
+ // Fetch the list of workers which failed without work orders
+ Iterator<Integer> iterator = failedInactiveWorkers.iterator();
Review Comment:
Moved
##########
extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/indexing/MSQWorkerTaskLauncher.java:
##########
@@ -124,6 +124,10 @@
// workers to relaunch
private final Set<Integer> workersToRelaunch = ConcurrentHashMap.newKeySet();
+ // workers that failed, but without active work orders. There is no need to retry these unless a future stage
+ // requires it.
+ private final Set<Integer> failedInactiveWorkers = ConcurrentHashMap.newKeySet();
Review Comment:
Added
--
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-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org