Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-9535

Metadata not updated when consumer encounters FENCED_LEADER_EPOCH

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.5.0, 2.3.2, 2.4.1
    • None
    • None

    Description

      Inside the consumer Fetcher's handling of ListOffsetResponse, if we hit `FENCED_LEADER_EPOCH` on partition level, the client will blindly retry without refreshing the metadata, creating a stuck state as the local leader epoch never gets updated and constantly fails the broker check.

      The solution is to trigger metadata update upon receiving retriable errors, before we kick off another offset list.

      Attachments

        Issue Links

          Activity

            People

              bchen225242 Boyang Chen
              bchen225242 Boyang Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: