David Mao created KAFKA-14144:
---------------------------------

             Summary: AlterPartition is not idempotent when requests time out
                 Key: KAFKA-14144
                 URL: https://issues.apache.org/jira/browse/KAFKA-14144
             Project: Kafka
          Issue Type: Bug
            Reporter: David Mao


[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.



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

Reply via email to