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

AlterPartition is not idempotent when requests time out

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0
    • None
    • None

    Description

      https://github.com/apache/kafka/pull/12032 changed the validation order of AlterPartition requests to fence requests with a stale partition epoch before we compare the leader and ISR contents.

      This results in a loss of idempotency if a leader does not receive an AlterPartition response because retries will receive an INVALID_UPDATE_VERSION error.

      Attachments

        Issue Links

          Activity

            People

              david.mao David Mao
              david.mao David Mao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: