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

[improve][broker] Exclude producers for geo-replication from publishers field of topic stats #22556

Merged
merged 1 commit into from May 7, 2024

Conversation

massakam
Copy link
Contributor

@massakam massakam commented Apr 22, 2024

Fixes #22442

Motivation

Please refer to #22442.

Modifications

Exclude producers for geo-replication from the publishers field in topic-stats and broker-stats.

Verifying this change

  • Make sure that the change passes the CI checks.

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@massakam massakam added type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages area/broker doc-not-needed Your PR changes do not impact docs ready-to-test labels Apr 22, 2024
@massakam massakam added this to the 3.3.0 milestone Apr 22, 2024
@massakam massakam self-assigned this Apr 22, 2024
@codecov-commenter
Copy link

codecov-commenter commented Apr 23, 2024

Codecov Report

Attention: Patch coverage is 86.66667% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 73.87%. Comparing base (bbc6224) to head (14a4e8b).
Report is 187 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #22556      +/-   ##
============================================
+ Coverage     73.57%   73.87%   +0.29%     
+ Complexity    32624     2744   -29880     
============================================
  Files          1877     1885       +8     
  Lines        139502   140516    +1014     
  Branches      15299    15450     +151     
============================================
+ Hits         102638   103804    +1166     
+ Misses        28908    28656     -252     
- Partials       7956     8056     +100     
Flag Coverage Δ
inttests 26.99% <80.00%> (+2.40%) ⬆️
systests 24.41% <40.00%> (+0.09%) ⬆️
unittests 73.15% <86.66%> (+0.31%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
...oker/service/nonpersistent/NonPersistentTopic.java 70.38% <85.71%> (+0.91%) ⬆️
...sar/broker/service/persistent/PersistentTopic.java 78.66% <87.50%> (+0.20%) ⬆️

... and 259 files with indirect coverage changes

@massakam
Copy link
Contributor Author

@lhotari PTAL

@massakam
Copy link
Contributor Author

massakam commented Apr 23, 2024

Resolved conflicts.

@massakam massakam force-pushed the exclude-repl-producers branch 3 times, most recently from 96aa9f6 to 342d63e Compare April 24, 2024 07:29
Copy link
Member

@lhotari lhotari left a comment

Choose a reason for hiding this comment

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

LGTM

@nkurihar nkurihar merged commit c30765e into apache:master May 7, 2024
50 checks passed
@massakam massakam deleted the exclude-repl-producers branch May 7, 2024 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/broker doc-not-needed Your PR changes do not impact docs ready-to-test type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Producers for geo-replication should be excluded from the publishers field of topic stats
5 participants