KAFKA-14078; Do leader/epoch validation in Fetch before checking for valid replica (#12411)
After the fix for https://github.com/apache/kafka/pull/12150, if a follower receives a request from another replica, it will return UNKNOWN_LEADER_EPOCH even if the leader epoch matches. We need to do epoch leader/epoch validation first before we check whether we have a valid replica. Reviewers: David Jacot <djacot@confluent.io>
加载中
想要评论请 注册 或 登录