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

[#1267][FOLLOWUP] improvement(client): INFO log level should be used in RetryUtils #1500

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

rickyma
Copy link
Contributor

@rickyma rickyma commented Feb 1, 2024

What changes were proposed in this pull request?

INFO log level should be used in RetryUtils. Because these log messages are not actual errors.

Why are the changes needed?

It's a followup PR for #1411.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Existing UTs.

@codecov-commenter
Copy link

codecov-commenter commented Feb 1, 2024

Codecov Report

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

Comparison is base (464553e) 54.24% compared to head (1389b93) 55.28%.
Report is 4 commits behind head on master.

Files Patch % Lines
...ava/org/apache/uniffle/common/util/RetryUtils.java 66.66% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1500      +/-   ##
============================================
+ Coverage     54.24%   55.28%   +1.04%     
- Complexity     2805     2808       +3     
============================================
  Files           427      407      -20     
  Lines         24349    21988    -2361     
  Branches       2077     2077              
============================================
- Hits          13207    12157    -1050     
+ Misses        10311     9074    -1237     
+ Partials        831      757      -74     

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

@lifeSo
Copy link
Collaborator

lifeSo commented Feb 4, 2024

image

Should isDebugEnabled() changed to isInfoEnabled() ?

@rickyma
Copy link
Contributor Author

rickyma commented Feb 4, 2024

image

Should isDebugEnabled() changed to isInfoEnabled() ?

Done. @lifeSo

@rickyma
Copy link
Contributor Author

rickyma commented Feb 4, 2024

image

Should isDebugEnabled() changed to isInfoEnabled() ?

We only show this detailed log in DEBUG level.

Copy link
Contributor

@smallzhongfeng smallzhongfeng left a comment

Choose a reason for hiding this comment

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

Waiting for CI, otherwise lgtm

@smallzhongfeng smallzhongfeng merged commit cc5a038 into apache:master Feb 6, 2024
36 checks passed
@smallzhongfeng
Copy link
Contributor

Thanks @rickyma Merged.

@rickyma rickyma deleted the followup-for-1267 branch May 5, 2024 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants