You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2022/11/29 23:23:57 UTC

[GitHub] [kafka] jeffkbkim commented on pull request #12897: KAFKA-14379: consumer should refresh preferred read replica on update metadata

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-unsubscribe@kafka.apache.org

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