Jackie-Jiang opened a new pull request #4793: Fix the bug of uneven task distribution for threads URL: https://github.com/apache/incubator-pinot/pull/4793 E.g. 5 threads, 11 tasks If we pre-calculate the numTasksPerThread, each thread will get 3 tasks Thread 0-2 will get 3 tasks; thread 3 will get 2 tasks; thread 4 will get 0 task Instead, we should do round-robin, and thread 0 will get 3 tasks, thread 1-4 will get 2 tasks
---------------------------------------------------------------- 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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
