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

[jira] [Created] (KAFKA-14144) AlterPartition is not idempotent when requests time out

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)