Skip to content

KAFKA-21262: Wait for the share group and check the record count in share benchmarks - #23894

Draft
unknowntpo wants to merge 1 commit into
apache:trunkfrom
unknowntpo:fix-share-benchmark-warmup
Draft

unknowntpo wants to merge 1 commit into
apache:trunkfrom
unknowntpo:fix-share-benchmark-warmup

Conversation

@unknowntpo

@unknowntpo unknowntpo commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

The first share group in a cluster has to wait for __share_group_state
to be created, which can take longer than the --timeout of the perf
tool. The benchmarks now read and release one record before the measured
run, and fail if the run reads fewer records than expected. Before this,
a run that read 0 records still passed.

test_producer_and_share_consumer writes one extra warm-up record, so
the consumer can read 1,000,001 records.

The tool side of the flakiness is fixed in #23781.

…hare benchmarks

The first share group in a cluster creates __share_group_state, which can take
longer than the perf tool timeout, so the tool read 0 records. Read and release
one record before the measured run, and fail if the run reads too few records.
@github-actions github-actions Bot added triage PRs from the community tests Test fixes (including flaky tests) small Small PRs labels Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

small Small PRs tests Test fixes (including flaky tests) triage PRs from the community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant