Skip to content

Conversation

@devtrace404
Copy link
Contributor

Problem

When a partition transitions to a follower role but its leader broker is not present in the MetadataImage, the broker logs a misleading message stating it "Started fetchers for N partitions" even though no fetcher was actually started for partitions whose leader is unavailable.

Change

Only log "Started fetchers" when partitionAndOffsets is non-empty, avoiding misleading success messages when no fetchers were started.

@github-actions github-actions bot added triage PRs from the community core Kafka Broker small Small PRs labels Dec 11, 2025
@github-actions
Copy link

A label of 'needs-attention' was automatically added to this PR in order to raise the
attention of the committers. Once this issue has been triaged, the triage label
should be removed to prevent this automation from happening again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Kafka Broker needs-attention small Small PRs triage PRs from the community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants