Skip to content

Conversation

@TaiJuWu
Copy link
Owner

@TaiJuWu TaiJuWu commented Nov 10, 2025

Delete this text and replace it with a detailed description of your change. The
PR title and body will become the squashed commit message.

If you would like to tag individuals, add some commentary, upload images, or
include other supplemental information that should not be part of the eventual
commit message, please use a separate comment.

If applicable, please include a summary of the testing strategy (including
rationale) for the proposed change. Unit and/or integration tests are expected
for any behavior change and system tests should be considered for larger
changes.

peterxcli and others added 30 commits October 15, 2024 01:24
- Introduce committedVoters field in QuorumInfo class
- Update KafkaAdminClient to populate committedVoters from partition info
- Add getter method for committedVoters in QuorumInfo
- Rename `voterStates` to `currentVoterStates` for clarity
- Update all references to use the new name
- Add `currentVoterStates()` getter method
- Remove unused `voterStates()` method
…ateMachine

- Introduce new method `lastVoterSetWithOffset()` in KRaftControlRecordStateMachine
- Return a Map.Entry containing the last VoterSet and its corresponding offset
- Synchronize access to voterSetHistory for thread safety
…rum API

- Add committedVoterStates to LeaderState to track committed voters
- Update LeaderState to manage both current and committed voter states
- Modify KafkaRaftClient to use new lastVoterSetWithOffset method
- Extend RaftUtil.buildDescribeQuorumResponse to include committed voters
- Update DescribeQuorum API to support committed voters (version 3)
This reverts commit 91da1a1.
@github-actions github-actions bot added the core label Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants