[ https://issues.apache.org/jira/browse/KAFKA-19449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Quah updated KAFKA-19449: ------------------------------ Description: We transition to `UNRELEASED_PARTITIONS` when advancing to a new target assignment and partitions in the assignment are "owned" by another member. Partitions are considered "owned" by another member if they are in a member's assignment or partitions pending revocation. Ownership is only updated after reconciliation has finished. When the latest target assignment includes partitions from the partitions pending revocation list, we mistakenly think the partitions are owned by another member and can transition from `UNREVOKED_PARTITIONS` to `UNRELEASED_PARTITIONS` instead. was: We transition to `UNRELEASED_PARTITIONS` when advancing to a new target assignment and partitions in the assignment are "owned" by another member. Partitions are considered "owned" by another member if they are in a member's assignment or partitions pending revocation. Ownership is only updated after reconciliation has finished. When the latest target assignment includes partitions from the partitions pending revocation list, we mistakenly think the partitions are owned by another member and transition from `UNREVOKED_PARTITIONS` to `UNRELEASED_PARTITIONS` instead. > Unexpected UNREVOKED_PARTITIONS to UNRELEASED_PARTITIONS transition in > consumer member reconciliation > ----------------------------------------------------------------------------------------------------- > > Key: KAFKA-19449 > URL: https://issues.apache.org/jira/browse/KAFKA-19449 > Project: Kafka > Issue Type: Bug > Components: group-coordinator > Reporter: Sean Quah > Assignee: Sean Quah > Priority: Minor > > We transition to `UNRELEASED_PARTITIONS` when advancing to a new target > assignment and partitions in the assignment are "owned" by another member. > Partitions are considered "owned" by another member if they are in a member's > assignment or partitions pending revocation. Ownership is only updated after > reconciliation has finished. > When the latest target assignment includes partitions from the partitions > pending revocation list, we mistakenly think the partitions are owned by > another member and can transition from `UNREVOKED_PARTITIONS` to > `UNRELEASED_PARTITIONS` instead. -- This message was sent by Atlassian Jira (v8.20.10#820010)