brandboat opened a new pull request, #21396:
URL: https://github.com/apache/kafka/pull/21396

   When a broker loses leadership of a __consumer_offsets partition while
   a write batch is pending, the coordinator unload process fails because
   freeCurrentBatch() attempts to access partition writer configuration
   which throws NOT_LEADER_OR_FOLLOWER exception.
   
   This commit fixes the issue by skipping buffer release during unload since
   all related resources are being closed anyway.


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