yashmayya commented on code in PR #17342:
URL: https://github.com/apache/pinot/pull/17342#discussion_r2611717922
##########
pinot-query-planner/src/main/java/org/apache/pinot/query/routing/WorkerManager.java:
##########
@@ -362,6 +362,10 @@ private List<QueryServerInstance>
getCandidateServers(DispatchablePlanContext co
} else {
candidateServers = getCandidateServersPerTables(context);
}
+ // Sort to ensure deterministic worker ID assignment across stages.
Review Comment:
Same server as..? It'll still be picking a random server from the sorted
server list -
https://github.com/apache/pinot/blob/d2dc32d0de6574242616614832bfc8bb59eec452/pinot-query-planner/src/main/java/org/apache/pinot/query/routing/WorkerManager.java#L238-L243
--
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]