Router priority
strategy implementation does not match documentation
#17118
Labels
priority
strategy implementation does not match documentation
#17118
The
priority
router strategy is documented as follows (source):But the implementation is very different:
druid/services/src/main/java/org/apache/druid/server/router/PriorityTieredBrokerSelectorStrategy.java
Lines 44 to 57 in 4f137d2
Since this is a default router strategy, it can lead to some really unexpected behaviour. Given default configuration, a query with priority=2 will be assigned directly to the default brokers, bypassing any other broker routing strategies.
More accurate documentation would be:
I think it would be preferable to update the implementation. I'm happy to submit a fix but will need someone to confirm the intended behaviour.
The text was updated successfully, but these errors were encountered: