client: avoid RM fallback warning spam#10522
Conversation
Treat a missing standalone resource manager endpoint as a normal PD fallback state. Stop warning when the RM connection is empty in that expected path. Signed-off-by: okjiang <819421878@qq.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughModified service discovery error handling to treat missing standalone resource manager endpoints as normal fallback states rather than errors. Removed connection reset logic and error-based warning logs when discovery returns empty results or connection is unavailable. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~18 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/retest |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #10522 +/- ##
==========================================
+ Coverage 78.88% 78.91% +0.03%
==========================================
Files 530 531 +1
Lines 71548 71626 +78
==========================================
+ Hits 56439 56525 +86
+ Misses 11092 11075 -17
- Partials 4017 4026 +9
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bufferflies, lhy1024 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
|
/retest |
|
@okJiang: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
What problem does this PR solve?
Issue Number: Close #10521
When PD runs without a standalone resource manager, client-side discovery keeps warning even though falling back to the PD-provided resource manager is expected. This makes normal deployments noisy and hides real problems.
What is changed and how does it work?
Check List
Tests
Release note
Summary by CodeRabbit