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

Forgotten Topics in Fetch Requests may incorrectly use topic IDs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.1.0
    • None
    • None

    Description

      In the new code for Fetch, we only check if the topics contained in the session have IDs to decide whether to send a version < 13 (topic names) or version 13+ (topic IDs) request. However, if we have an empty session that previously did not use IDs, we will try to send a request to forget the topics. Since all topics in the session (none) were not missing topic ids, we will send a version 13 request. This request will have the Zero UUID and fail.

      The result is that we close the session and mark any partitions in it as errored, but the message is confusing and the request is not correct. We should somehow also track forgotten topics when deciding what version to use.

      Attachments

        Issue Links

          Activity

            People

              jolshan Justine Olshan
              jolshan Justine Olshan
              David Jacot David Jacot
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: