jeffkbkim commented on PR #12897:
URL: https://github.com/apache/kafka/pull/12897#issuecomment-1331446867

   thanks @dajac for the review. as discussed offline:
   
   `nodeIfOnline` will be updated to also check whether the node is within the 
given partition info replica set. this will help clear the preferred read 
replica in cases where a partition is reassigned. this will resolve the given 
example (topic reassignment) as well as cases where the follower falls out of 
ISR due to a network problem.
   
   however, we will still keep the changes to clear the preferred read replica 
on errors so that the consumer relies on the leader for up-to-date preferred 
read replica.


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