Skip to content

KAFKA-20338: More KRaft JMH benchmarks - #23114

Open
anjy7 wants to merge 42 commits into
apache:trunkfrom
anjy7:KAFKA-20338-2
Open

KAFKA-20338: More KRaft JMH benchmarks#23114
anjy7 wants to merge 42 commits into
apache:trunkfrom
anjy7:KAFKA-20338-2

Conversation

@anjy7

@anjy7 anjy7 commented Aug 7, 2026

Copy link
Copy Markdown

The work in this PR is a followup to #22669

This PR covers:

  • FollowerBenchmarks (the follower path): handling a BEGIN_QUORUM_EPOCH one epoch ahead, handling an END_QUORUM_EPOCH from the leader, and appending records from a FETCH response, both the case that commits nothing (high watermark unchanged) and the case that advances the follower's high watermark and notifies its listener (a log read-back).

  • ElectionBenchmarks (the election-start path): 4 new state-transition benchmarks :

  1. Unattached → Prospective → Unattached (returning to Unattached via a higher-epoch vote request)
  2. Unattached → Prospective → Unattached (returning via the prospective's own election timeout)
  3. Prospective → Candidate → Prospective
  4. Follower → Prospective → Follower

@github-actions github-actions Bot added triage PRs from the community performance kraft build Gradle build or GitHub Actions labels Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Gradle build or GitHub Actions kraft performance triage PRs from the community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant