You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (Jira)" <ji...@apache.org> on 2022/07/15 05:29:00 UTC

[jira] [Created] (KAFKA-14078) Replica fetches to follower should return NOT_LEADER error

Jason Gustafson created KAFKA-14078:
---------------------------------------

             Summary: Replica fetches to follower should return NOT_LEADER error
                 Key: KAFKA-14078
                 URL: https://issues.apache.org/jira/browse/KAFKA-14078
             Project: Kafka
          Issue Type: Bug
            Reporter: Jason Gustafson
            Assignee: Jason Gustafson
             Fix For: 3.3.0


After the fix for KAFKA-13837, 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)