Jackie-Jiang commented on PR #15780:
URL: https://github.com/apache/pinot/pull/15780#issuecomment-2892559204

   What I meant is that the new `LeafStageWorkerAssignmentRule` and 
`WorkerManager` requires different info from partitioning:
   - `LeafStageWorkerAssignmentRule` needs to find all segments for each 
partition, and track segments without any partition
   - `WorkerManager` needs to find segments for each partition with fully 
replicated servers
   
   Because they need different info, I'd suggest adding a new class similar to 
`TablePartitionInfo` (you may also rename the existing one to something like 
`TablePartitionInfoWithReplicatedServers`), then make a new method to retrieve 
that info. They are for different purpose, so better separate them.


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