backendcluster: add cluster manager and cluster-scoped topology runtime#1104
Conversation
|
Skipping CI for Draft Pull Request. |
98ea284 to
3993ee3
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1104 +/- ##
=======================================
Coverage ? 67.09%
=======================================
Files ? 144
Lines ? 15081
Branches ? 0
=======================================
Hits ? 10118
Misses ? 4270
Partials ? 693
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
3993ee3 to
a7c5384
Compare
|
/test all |
|
/retest |
25a54ca to
cd317e4
Compare
|
/test all |
f97603c to
1add4f8
Compare
1add4f8 to
af488c9
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 82ae03a9dc
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
09b1223 to
dfe1eac
Compare
dfe1eac to
e9c14ce
Compare
| StatusPort: 10080, // impossible anyway | ||
| }, | ||
| g.lg.Warn("backend is not found in the router", zap.String("backend_id", backendID), zap.Stack("stack")) | ||
| backend = newBackendWrapper(backendID, observer.BackendHealth{ |
There was a problem hiding this comment.
Why remove BackendInfo here? Is it safe to remove it?
There was a problem hiding this comment.
A mistake. I tried to find some way to fill in these fields without parsing backendID but failed.
For now, I think it's fine to parse backendID for this strange branch.
c6b881d to
c6de019
Compare
Signed-off-by: Yang Keao <yangkeao@chunibyo.icu>
c6de019 to
d5daa9c
Compare
Signed-off-by: Yang Keao <yangkeao@chunibyo.icu>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: djshow832 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:
|
What problem does this PR solve?
Issue Number: close #1098
What is changed and how it works:
Introduce a backend-cluster manager that owns cluster-scoped runtime instances.
This PR adds:
Check List
Tests
Notable changes
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.