-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
config: finish warming only after named response #6151
config: finish warming only after named response #6151
Conversation
Signed-off-by: Rama Chavali <rama.rao@salesforce.com>
Document where this approach was discussed https://docs.google.com/document/d/1Ca4YX9XNnV9rjTR7U0_xyCxUDKfoSun8pWSUNO9N-tY/edit?ts=5c79affc |
@mattklein123 @htuch @snowp implemented as discussed in the doc. PTAL. Regarding doc updates, I think the cluster warming section here https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/cluster_manager.html?highlight=cluster%20warming#cluster-warming correctly represents the expected behaviour. I will update xDS protocol doc (including guidance on renaming) in a follow-up PR. |
/retest |
🔨 rebuilding |
Looks good code wise. A few things to consider:
|
My personal opinion - I think we should not because this is the desired behavior we want and
But open to it if others feel it is best to add the config.
Sorry this is not clear to me. Do you want me to push a empty commit with references to this?
Thank you. That makes sense. |
…d because of envoyproxy#4485 via envoyproxy#4490 Signed-off-by: Rama Chavali <rama.rao@salesforce.com>
nm on 2, added references. |
I chatted with @rfaulk and we're good to go with this PR, we'll make the required changes internally to deal with this. @costinm FYI, this may have Pilot side implications, unclear. I don't feel that strongly about config guarding, I'll let @alyssawilk who is our new config guard police provide thoughts. |
Signed-off-by: Rama Chavali <rama.rao@salesforce.com>
@htuch Thank you. |
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.
Approved, contingent on approval from another @envoyproxy/senior-maintainers, since this is technically a behavioral change and might warrant guarding.
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.
I think I'm OK without a config guard here. IMO the previous behavior was super confusing and could be considered a bug.
Thanks @ramaraochavali for working through this!
As a follow-up to #6151 , this PR updates xds docs. Signed-off-by: Rama Chavali <rama.rao@salesforce.com>
Description: This PR changes the way cluster warming works and finishes warming only after a named response i.e a
ClusterLoadAssginment
response for the cluster being warmed. This happens consistently both in init/updated warming cases.Risk Level: Medium
Testing: Added automated tests to test the new behaviour.
Docs Changes: N/A
Release Notes: Updated
Fixes #5168