adixitconfluent opened a new pull request, #18053: URL: https://github.com/apache/kafka/pull/18053
### About In reference to comment https://github.com/apache/kafka/pull/17957#discussion_r1862570482 , It might be better not to complete the future while holding the write lock. The registered action for the future could potentially try to acquire another lock that is held by a different thread, which, in turn, could be waiting on the write lock - resulting in a deadlock. ### Testing The code is being tested with the help of already present unit and integration tests. -- 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]
