himanshug commented on pull request #10524:
URL: https://github.com/apache/druid/pull/10524#issuecomment-788486594


   @pjain1 @zhangyue19921010 
   > I think we can add this to the documentation. I was just wondering if we 
can be more defensive in computeDesiredTaskCount method and do not return 
desired task count greater than num topic partitions to prevent unnecessary 
deletion and creation of tasks in case task count max is set to a big number.
   
   We should definitely make sure that returned `desiredTaskCount` is always 
less than or equal to max partitions in the topic.


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

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