-
Notifications
You must be signed in to change notification settings - Fork 78
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
[bugfix] Vald gRPC Client and Pool logic makes huge backoff #1953
[bugfix] Vald gRPC Client and Pool logic makes huge backoff #1953
Conversation
Deploying with Cloudflare Pages
|
[CHATOPS:HELP] ChatOps commands.
|
85bad2e
to
4c8b24d
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1953 +/- ##
==========================================
+ Coverage 29.68% 29.70% +0.01%
==========================================
Files 366 364 -2
Lines 34101 34130 +29
==========================================
+ Hits 10122 10137 +15
- Misses 23573 23576 +3
- Partials 406 417 +11
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
4c8b24d
to
ac4ab69
Compare
d09391f
to
38dc8b4
Compare
internal/log/glg/glg.go
Outdated
} | ||
|
||
func (l *logger) Fatal(vals ...interface{}) { | ||
l.glg.Fatal(vals...) | ||
l.retry.Out(l.glg.Fatal, vals...) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typecheck: cannot use l.glg.Fatal (value of type func(val ...interface{})) as func(vals ...interface{}) error value in argument to l.retry.Out
❗❗ 2 similar findings have been found in this PR
🔎 Expand here to view all instances of this finding
File Path | Line Number |
---|---|
internal/log/glg/glg.go | 141 |
internal/log/glg/glg.go | 145 |
Visit the Lift Web Console to find more details in your report.
ℹ️ Expand to see all @sonatype-lift commands
You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.
Command | Usage |
---|---|
@sonatype-lift ignore |
Leave out the above finding from this PR |
@sonatype-lift ignoreall |
Leave out all the existing findings from this PR |
@sonatype-lift exclude <file|issue|path|tool> |
Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file |
Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.
Help us improve LIFT! (Sonatype LiftBot external survey)
Was this a good recommendation for you? Answering this survey will not impact your Lift settings.
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]
38dc8b4
to
d2112fe
Compare
70e66a2
to
b8cd101
Compare
[FOSSA] The scan result will be available at https://app.fossa.com/projects/custom%2B21465%2Fvald/refs/branch/bugfix%2Flb-backoff%2Fgateway-lb-exists-api-notfound-backoff-problem/4555f6fd645d56a5c89f5b5b1c59d97d5e6ee048 |
Profile Report
|
Signed-off-by: kpango <kpango@vdaas.org>
8a10538
to
d091470
Compare
[FOSSA] The scan result will be available at https://app.fossa.com/projects/custom%2B21465%2Fvald/refs/branch/bugfix%2Flb-backoff%2Fgateway-lb-exists-api-notfound-backoff-problem/5326503793cac3bf0ff8521047955b8ad5469bfe |
Profile Report
|
Signed-off-by: kpango kpango@vdaas.org
Description:
This PR inclueds many features.
- Fixes [Proposal] Refactor/Re-Construct MultiXXX APIs. #1940
- Remove gateway internal package due to the MultiXXX APIs change
- Add Multi Concurrency configuration to internal/config and charts
- https://pkg.go.dev/golang.org/x/exp/slices
- https://github.com/vdaas/vald/blob/bugfix/lb-backoff/gateway-lb-exists-api-notfound-backoff-problem/internal/net/grpc/context.go#L23-L29
- https://github.com/vdaas/vald/blob/bugfix/lb-backoff/gateway-lb-exists-api-notfound-backoff-problem/internal/info/info.go#L290-L316
- https://github.com/vdaas/vald/blob/bugfix/lb-backoff/gateway-lb-exists-api-notfound-backoff-problem/internal/log/glg/glg.go#L100-L123
- internal/net/grpc/client.go changes RoundRobin logic we don't need atomicAddrs management any more, so I deleted it.
- this bug restarts LBGW, I added deep-copy impl for metrics and it's works and no panic for head of pr-1953 impl
- errgroup.Do should be use with safety.RecoverFunc so I added it.
Related Issue:
Versions:
Checklist:
Special notes for your reviewer: