gianm commented on code in PR #12592:
URL: https://github.com/apache/druid/pull/12592#discussion_r894622424
##########
indexing-service/src/main/java/org/apache/druid/indexing/overlord/ForkingTaskRunner.java:
##########
@@ -214,6 +218,13 @@ public TaskStatus call()
command.add("-cp");
command.add(taskClasspath);
+ if (numProcessorsPerTask < 1) {
Review Comment:
It wouldn't be needed if start and run are called in the proper order. It's
here as a safety check in case they aren't. (Maybe it would help debug tests
that are doing things incorrectly.)
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]