[
https://issues.apache.org/jira/browse/KAFKA-20271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Quah reassigned KAFKA-20271:
---------------------------------
Assignee: Sean Quah
> Initialize assignment epoch to -1 when there is no assignment yet
> -----------------------------------------------------------------
>
> Key: KAFKA-20271
> URL: https://issues.apache.org/jira/browse/KAFKA-20271
> Project: Kafka
> Issue Type: Sub-task
> Components: group-coordinator
> Reporter: Sean Quah
> Assignee: Sean Quah
> Priority: Major
>
> When creating a group, the assignment epoch is initialized to 0.
> When tombstoning a group, the assignment epoch is set to -1.
> Look into whether we can use -1 for both.
> Some tests fail when initializing the assignment epoch to -1:
> * DescribeGroup tests fail because the assignment epoch is -1 instead of 0.
> * ConsumerGroup state tests fail because the consumer group enters ASSIGNING
> because the group epoch (0) is greater than the assignment epoch (-1).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)