sajjad-moradi commented on pull request #6291:
URL: https://github.com/apache/pinot/pull/6291#issuecomment-1022765116


   > The multi-partition rate limiter seems to be created only once. If the 
number of partitions changes, where is it adjusted?
   
   It's created only once and that's in the constructor of 
`LLRealtimeSegmentDataManager`. When the number of partitions changes, nothing 
happens to the existing consuming segments, i.e. existing 
LLRealtimeSegmentDataManager objects, but there will be new consuming segments 
and consequently new LLRealtimeSegmentDataManager objects will be created. Each 
of these new objects will have their own rate limiters with the new partition 
count.


-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to