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

making nonLeaderForTables exhaustive #12345

Merged
merged 4 commits into from
Feb 1, 2024

Conversation

gortiz
Copy link
Contributor

@gortiz gortiz commented Jan 31, 2024

Labels:

  • bugfix
  • observability

This PR removes a bunch of metrics that should be removed when segments are deleted.

See #12344

@gortiz
Copy link
Contributor Author

gortiz commented Jan 31, 2024

cc @suddendust @zhtaoxiang

@codecov-commenter
Copy link

codecov-commenter commented Jan 31, 2024

Codecov Report

Attention: 13 lines in your changes are missing coverage. Please review.

Comparison is base (17db0fd) 61.69% compared to head (f35769c) 34.95%.

Files Patch % Lines
...elix/core/periodictask/ControllerPeriodicTask.java 0.00% 12 Missing ⚠️
...e/pinot/controller/helix/SegmentStatusChecker.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             master   #12345       +/-   ##
=============================================
- Coverage     61.69%   34.95%   -26.75%     
=============================================
  Files          2424     2348       -76     
  Lines        132340   128587     -3753     
  Branches      20436    19875      -561     
=============================================
- Hits          81651    44944    -36707     
- Misses        44693    80422    +35729     
+ Partials       5996     3221     -2775     
Flag Coverage Δ
custom-integration1 ?
integration 0.00% <0.00%> (-0.01%) ⬇️
integration1 ?
integration2 0.00% <0.00%> (ø)
java-11 ?
java-21 34.95% <0.00%> (-26.63%) ⬇️
skip-bytebuffers-false 34.93% <0.00%> (-26.76%) ⬇️
skip-bytebuffers-true 46.73% <ø> (-14.83%) ⬇️
temurin 34.95% <0.00%> (-26.75%) ⬇️
unittests 46.77% <ø> (-14.92%) ⬇️
unittests1 46.77% <ø> (-0.14%) ⬇️
unittests2 ?

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@zhtaoxiang zhtaoxiang left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@snleee snleee left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@Jackie-Jiang Jackie-Jiang left a comment

Choose a reason for hiding this comment

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

LGTM with minor comments

@gortiz
Copy link
Contributor Author

gortiz commented Feb 1, 2024

I've applied changes suggested by @Jackie-Jiang and also modified the javadoc to be more specific.

@Jackie-Jiang Jackie-Jiang merged commit 76379fb into apache:master Feb 1, 2024
17 of 19 checks passed
@gortiz gortiz deleted the exhaustive-nonLeaderForTables branch February 1, 2024 17:00
suyashpatel98 pushed a commit to suyashpatel98/pinot that referenced this pull request Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants