Skip to content

[ISSUE #9253] Make the message visible earlier when response process encounters errors#9255

Merged
lizhimins merged 2 commits intoapache:developfrom
redlsz:fix-9253
May 13, 2025
Merged

[ISSUE #9253] Make the message visible earlier when response process encounters errors#9255
lizhimins merged 2 commits intoapache:developfrom
redlsz:fix-9253

Conversation

@redlsz
Copy link
Copy Markdown
Contributor

@redlsz redlsz commented Mar 17, 2025

Which Issue(s) This PR Fixes

Fixes #9253

Brief Description

How Did You Test This Change?

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.02%. Comparing base (2219fd8) to head (5a7dbeb).
Report is 4 commits behind head on develop.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #9255      +/-   ##
=============================================
- Coverage      48.08%   48.02%   -0.06%     
+ Complexity     12108    12103       -5     
=============================================
  Files           1322     1322              
  Lines          93127    93138      +11     
  Branches       11940    11941       +1     
=============================================
- Hits           44782    44732      -50     
- Misses         42807    42862      +55     
- Partials        5538     5544       +6     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lizhimins
Copy link
Copy Markdown
Member

@qianye1001

if (PopStatus.FOUND.equals(popResult.getPopStatus())) {
GrpcClientChannel clientChannel = grpcChannelManager.getChannel(ctx.getClientID());
if (clientChannel == null) {
RuntimeException e = new RuntimeException(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

RuntimeException will be convert to INTERNAL_SERVER_ERROR, It is recommended to use GrpcProxyException to return ok and carry error messages

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

RuntimeException will be convert to INTERNAL_SERVER_ERROR, It is recommended to use GrpcProxyException to return ok and carry error messages

Fixed. PTAL.

Copy link
Copy Markdown
Contributor

@qianye1001 qianye1001 left a comment

Choose a reason for hiding this comment

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

LGTM

@lizhimins lizhimins merged commit 2379813 into apache:develop May 13, 2025
10 of 11 checks passed
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.

[Enhancement] Make the message visible earlier when adding renew task fails due to client disconnection

4 participants