squah-confluent opened a new pull request, #21107: URL: https://github.com/apache/kafka/pull/21107
Previously, when transitioning from UNREVOKED_PARTITIONS to UNREVOKED_PARTITIONS, we bumped the member epoch by 1. After the change for KAFKA-19431, we could also enter UNREVOKED_PARTITIONS due to unsubscribing from a topic. This introduced a new class of epoch bumps, which allowed a partition to be owned by different members at the same epoch (though not at the same time). We would like to preserve the invariant that partitions can only be owned by a single member at any given epoch, so we remove the partition bump entirely. After this patch, when transitioning from UNREVOKED_PARTITIONS to UNREVOKED_PARTITIONS, the member epoch is not bumped. When transitioning from UNREVOKED_PARTIIONS to any other state, the member epoch is updated to match the target assignment epoch. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
