Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KAFKA-13688: Fix a couple incorrect metrics in KafkaController #11799

Closed
wants to merge 0 commits into from

Conversation

chb2ab
Copy link
Contributor

@chb2ab chb2ab commented Feb 23, 2022

KAFKA-13688: This change removes unnecessary and incorrect set creations over the topics to be deleted during
update metrics, computing both replicasToDeleteCount and ineligibleReplicasToDeleteCount in a single scan.
Future metrics calculated over topics to be deleted should build on this scan for better performance.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

Copy link
Contributor

@dajac dajac left a comment

Choose a reason for hiding this comment

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

@chb2ab Thanks for the patch. Would it be possible to add a unit test for the bug that you refer to? That would prevent us from regressing in the future.

@chb2ab chb2ab closed this Jul 14, 2023
@chb2ab chb2ab force-pushed the trunk branch 2 times, most recently from 79d3604 to b3ce2e5 Compare July 14, 2023 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants