-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KAFKA-18379: Enforce resigned cannot transition to any other state in same epoch #18789
base: trunk
Are you sure you want to change the base?
Conversation
9656acd
to
e1ffb72
Compare
Hi @ahuang98 |
e1ffb72
to
d43d679
Compare
d43d679
to
f8c3c9e
Compare
3a404db
to
54118c5
Compare
A label of 'needs-attention' was automatically added to this PR in order to raise the |
54118c5
to
b5d90fb
Compare
b5d90fb
to
cbae6b2
Compare
A label of 'needs-attention' was automatically added to this PR in order to raise the |
cbae6b2
to
f0c6fa4
Compare
A label of 'needs-attention' was automatically added to this PR in order to raise the |
f0c6fa4
to
aa1deaa
Compare
A label of 'needs-attention' was automatically added to this PR in order to raise the |
aa1deaa
to
b0169a8
Compare
A label of 'needs-attention' was automatically added to this PR in order to raise the |
… same epoch JIRA: KAFKA-18379
b0169a8
to
3c4a4a1
Compare
JIRA: KAFKA-18379
For further details, please refer to KIP-996 and #18240 (comment).
In short, this PR adds a check for the transition from the resigned state to other states to prevent a resigned leader from accidentally becoming its own follower in the same epoch, which would create an invalid circular reference.
Committer Checklist (excluded from commit message)