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

   > [Without looking at the code changes] Using the smallest partitionID is 
because of the algorthm that optimizes the segment size. All partition IDs 
commit roughly at the same time, so we will not come up with newer values to 
correct the segment size soon.
   
   Let's say I have 8 partitions, all partitions commit at roughly the same 
time but partition 0 is committed last, we will lose the segment size tuning 
for all 7 partitions. This PR changes it so that all segment commit will 
contribute to the segment size tuning, and IMO it will give better segment size 
prediction


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