gianm commented on code in PR #20825:
URL: https://github.com/apache/druid/pull/20825#discussion_r4459196480
##########
multi-stage-query/src/main/java/org/apache/druid/msq/dart/worker/DartWorkerRunner.java:
##########
@@ -123,11 +180,7 @@ public Worker startWorker(
final boolean newHolder;
synchronized (this) {
- if (!activeControllerHosts.contains(controllerHost)) {
- throw DruidException.forPersona(DruidException.Persona.OPERATOR)
-
.ofCategory(DruidException.Category.RUNTIME_FAILURE)
- .build("Received startWorker request for unknown
controller[%s]", controllerHost);
- }
+ lastControllerHeartbeat.put(controllerHost, clock.millis());
Review Comment:
Correct. Because workers are no longer using service discovery to become
aware of Brokers, they now become aware of a new Broker when they get first
contact from that Broker.
--
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]