jon-wei opened a new pull request #9971:
URL: https://github.com/apache/druid/pull/9971


   This PR implements the follow areas of proposal 
https://github.com/apache/druid/issues/9953:
   - Modifying BroadcastDistributionRule
   - Assigning and balancing segments
   - Segment loading in brokers, realtime tasks, and indexers
   
   Key changes:
   - Adjusts BroadcastDistributionRule to remove the colocated datasources 
concept
   - Adjusts the segment balancers to skip balancing for segments that were 
assigned via broadcast rule
   - CliBroker, CliPeon, CliIndexer now bind ZKCoordinator and related classes 
for loading segments
   - Updates DruidCluster, DruidServer, ServerType and related to support the 
concept of a "broadcast target", separate from a "replication target"
   - SegmentChangeRequestLoad is updated to never prune the load spec when 
deserializing a DataSegment. This is needed for Brokers to load segments
   - A new flag has been added to the peon, indicating whether it will be 
running a queryable task. Non-queryable tasks such as batch tasks will not load 
segments.
   
   
   This PR has:
   - [x] been self-reviewed.
   - [ ] added documentation for new or modified features or behaviors.
   - [ ] 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/licenses.yaml)
   - [ ] added comments explaining the "why" and the intent of the code 
wherever would not be obvious for an unfamiliar reader.
   - [x] added unit tests or modified existing tests to cover new code paths.
   - [ ] added integration tests.
   - [x] 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.

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