Skip to content

KAFKA-14154; Kraft controller should return NOT_CONTROLLER if request epochs are ahead#12514

Merged
hachikuji merged 1 commit into
apache:trunkfrom
hachikuji:KAFKA-14154-kraft
Aug 15, 2022
Merged

KAFKA-14154; Kraft controller should return NOT_CONTROLLER if request epochs are ahead#12514
hachikuji merged 1 commit into
apache:trunkfrom
hachikuji:KAFKA-14154-kraft

Conversation

@hachikuji

Copy link
Copy Markdown
Contributor

Similar to #12506. For the Kraft controller, we should return NOT_CONTROLLER if the leader/partition epoch in the request is ahead of the controller.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@jsancio jsancio left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hachikuji hachikuji merged commit 5990471 into apache:trunk Aug 15, 2022
hachikuji added a commit that referenced this pull request Aug 15, 2022
… epoch is ahead (#12514)

Similar to #12506. For the Kraft controller, we should return NOT_CONTROLLER if the leader/partition epoch in the request is ahead of the controller. 

Reviewers: José Armando García Sancio <jsancio@users.noreply.github.com>
@jsancio jsancio added core Kafka Broker 3.3 labels Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Kafka Broker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants