Skip to content

Conversation

@mingyen066
Copy link
Collaborator

@mingyen066 mingyen066 commented Aug 11, 2025

Follow-up to
KAFKA-18486

  • Replace PartitionState with PartitionRegistration in
    makeFollower/makeLeader
  • Remove PartitionState.java since it is no longer referenced

Reviewers: TaiJuWu tjwu1217@gmail.com, Ken Huang s7133700@gmail.com,
Chia-Ping Tsai chia7712@gmail.com

@github-actions github-actions bot added the triage PRs from the community label Aug 11, 2025
@mingyen066 mingyen066 changed the title KAFKA-19447: Replace PartitionState with PartitionRegistration makeFollower/makeLeader KAFKA-19447: Replace PartitionState with PartitionRegistration in makeFollower/makeLeader Aug 11, 2025
Copy link
Member

@chia7712 chia7712 left a comment

Choose a reason for hiding this comment

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

@mingyen066 thanks for this cleanup. I have a couple of comments.


// Constants defined for readability
private val zkVersion = 0
private val partitionEpoch = 0
Copy link
Member

Choose a reason for hiding this comment

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

nice

Copy link
Collaborator

@m1a2st m1a2st left a comment

Choose a reason for hiding this comment

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

Thanks for this patch, some comments

@github-actions github-actions bot removed the triage PRs from the community label Aug 12, 2025
Copy link
Member

@chia7712 chia7712 left a comment

Choose a reason for hiding this comment

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

@mingyen066 thanks for updates.

@chia7712 chia7712 merged commit cae9848 into apache:trunk Aug 17, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants