samarthjain opened a new pull request #9603: Add new round robin strategy for loading segments. URL: https://github.com/apache/druid/pull/9603 This strategy aims to address situations where datasources that had older data restated often wait a long time before their segments are loaded on the cluster. This behavior happens because Druid by default prefers loading newer data. With this new strategy segments are loaded by selecting datasources in a round-robin fashion. For each datasource, the strategy ensures that the newer segments are loaded before the older ones. This PR has: - [X] been self-reviewed. - [X] using the [concurrency checklist](https://github.com/apache/druid/blob/master/dev/code-review/concurrency.md) (Remove this item if the PR doesn't have any relation to concurrency.) - [X] added documentation for new or modified features or behaviors. - [X] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links. - [X] 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. - [X] been tested in a test Druid cluster. * `DruidCoordinatorRuntimeParams.java` * `ImmutableDruidDataSource.java`
---------------------------------------------------------------- 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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
