capistrant opened a new pull request, #20508:
URL: https://github.com/apache/druid/pull/20508

   ### Description
   
   Instead of coupling the Dart worker to the Historical service, I think it 
makes sense to tie an announced DartWorkerService component to historicals who 
enable Dart engine via runtime property. If nothing else it adds some more rich 
information to the historicals announced capabilities. But it also could 
provide us future optionality in how Dart workers are registered and used. The 
recommended guidance in dart docs continues to recommend setting the dart flag 
in common runtime properties; so early adopters who already do that will see 
zero impact or behavior change as long as they follow the rolling update order 
of historicals before brokers in the Druid 39 upgrade.
   
   Mostly things will stay exactly the same, but now the Dart controller will 
only enroll actual Dart workers instead of all historicals without first 
checking if they run Dart in the first place. This would avoid the controller 
from sending Dart queries to a historical who explicitly disabled Dart. 
   
   #### Release note
   
   Dart workers on historicals are announced and discovered by the broker with 
a new DartWorkerService mechanism. Operators whose clusters have enabled dart 
should be sure to follow the standard rolling upgrade/downgrade order where 
historicals restart before broker during upgrade and the reverse during 
downgrade.
   
   
   <hr>
   
   ##### Key changed/added classes in this PR
    * `DartControllerContext`
    * `DartMessageRelays`
    * `DartWorkerService`
   
   <hr>
   
   <!-- Check the items by putting "x" in the brackets for the done things. Not 
all of these items apply to every PR. Remove the items which are not done or 
not relevant to the PR. None of the items from the checklist below are strictly 
necessary, but it would be very helpful if you at least self-review the PR. -->
   
   This PR has:
   
   - [ ] been self-reviewed.
   - [ ] added documentation for new or modified features or behaviors.
   - [ ] a release note entry in the PR description.
   - [ ] added Javadocs for most classes and all non-trivial methods. Linked 
related entities via Javadoc links.
   - [ ] added or updated version, license, or notice information in 
[licenses.yaml](https://github.com/apache/druid/blob/master/dev/license.md)
   - [ ] added comments explaining the "why" and the intent of the code 
wherever would not be obvious for an unfamiliar reader.
   - [ ] added unit tests or modified existing tests to cover new code paths, 
ensuring the threshold for [code 
coverage](https://github.com/apache/druid/blob/master/dev/code-review/code-coverage.md)
 is met.
   - [ ] added integration tests.
   - [ ] been tested in a test Druid cluster.


-- 
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]

Reply via email to