-
Notifications
You must be signed in to change notification settings - Fork 3.4k
fix: SetBackends should always update frontends of the modified service #35864
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
Conversation
e0b7172
to
910536c
Compare
/cc @joamaki I believe I've caught a bug in |
/test |
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.
Oops. The fix makes sense and thanks for adding the tests!
Glad to help 😊 CICD seems broken though, failing with
|
When SetBackends received an empty slice [bes] of BackendParams, it failed to refresh frontends of the service specified by [name]. This omission is now fixed and a test for SetBackends is added which in particular covers this issue. Fixes: 485331f Signed-off-by: Damian Sawicki <dsawicki@google.com>
910536c
to
338dcb3
Compare
/test |
Perhaps it was just flakiness or infra overload. In any case, everything is green now 🚀 |
When
SetBackends(txn, name, source, bes)
received an empty slicebes
ofBackendParams
, it failed to refresh frontends of the service specified byname
. This omission is now fixed and a test forSetBackends()
is added, which in particular covers this issue.Please ensure your pull request adheres to the following guidelines:
description and a
Fixes: #XXX
line if the commit addresses a particularGitHub issue.
Fixes: <commit-id>
tag, thenplease add the commit author[s] as reviewer[s] to this issue.