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

   There are two changes here:
   1. Acquire read lock when updating the follower fetch state. This can 
prevent a race case with fetch requests from a rebooted follower.
   2. Fence the follower fetch request with a stale broker epoch in Kraft mode. 
The broker epoch increases monotonically in Kraft mode. So if a fetch request 
with a smaller broker epoch, it should be stale.
   
   UT updated
   


-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to