lucasbru commented on PR #21365:
URL: https://github.com/apache/kafka/pull/21365#issuecomment-3841591722

   > An alternative way to fix it would be, I think, to consider 
`pendingTasksToInit` as a subset of `Tasks.allTasks`. Then conceptually, it may 
be simpler to say "close all tasks". But we'd have to check carefully what 
other places `Tasks.allTasks` and related methods are used, and if we are 
changing one of those places. In that case, we'd still need the "remove" fix 
you did.
   
   On second thought, that would probably create more problems than it solves. 
But I wonder if we should rename "allTasks" to "allInitializedTasks" then?


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

Reply via email to