Skip to content

[improve][broker] Do not expose bucketDelayedIndexStats#20383

Merged
Technoboy- merged 1 commit into
apache:masterfrom
coderzc:improve_do_export_bucket_delayed_stats
May 31, 2023
Merged

[improve][broker] Do not expose bucketDelayedIndexStats#20383
Technoboy- merged 1 commit into
apache:masterfrom
coderzc:improve_do_export_bucket_delayed_stats

Conversation

@coderzc

@coderzc coderzc commented May 24, 2023

Copy link
Copy Markdown
Member

Motivation

The bucketDelayedIndexStats is an internal statistic, we don't should expose to the user.

Modifications

Add the @JsonIgnore annotation to the above fields.

Documentation

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

Matching PR in forked repository

PR in forked repository:

@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label May 24, 2023
@coderzc coderzc changed the title [improve][stats] Do not expose bucketDelayedIndexStats [improve][broker] Do not expose bucketDelayedIndexStats May 24, 2023
@coderzc coderzc added this to the 3.1.0 milestone May 24, 2023
@coderzc coderzc requested a review from mattisonchao May 30, 2023 09:29
@codecov-commenter

codecov-commenter commented May 31, 2023

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.96%. Comparing base (548fd22) to head (b254e81).
⚠️ Report is 2062 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##             master   #20383       +/-   ##
=============================================
+ Coverage     36.89%   72.96%   +36.07%     
- Complexity    12053    31934    +19881     
=============================================
  Files          1687     1867      +180     
  Lines        128826   138500     +9674     
  Branches      14013    15195     +1182     
=============================================
+ Hits          47528   101054    +53526     
+ Misses        75040    29442    -45598     
- Partials       6258     8004     +1746     
Flag Coverage Δ
inttests 24.28% <ø> (+0.10%) ⬆️
systests 25.01% <ø> (-0.16%) ⬇️
unittests 72.25% <ø> (+40.29%) ⬆️

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

Files with missing lines Coverage Δ
...mon/policies/data/stats/SubscriptionStatsImpl.java 69.56% <ø> (ø)
...sar/common/policies/data/stats/TopicStatsImpl.java 90.44% <ø> (+36.30%) ⬆️

... and 1440 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Technoboy- Technoboy- merged commit 9f93af3 into apache:master May 31, 2023
@coderzc coderzc added type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages area/broker release/3.0.1 labels May 31, 2023
RobertIndie pushed a commit that referenced this pull request Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/broker cherry-picked/branch-3.0 doc-not-needed Your PR changes do not impact docs ready-to-test release/3.0.1 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.

5 participants