Skip to content
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

xds: only reschedule timer for unresolved resources upon ADS stream restarts #7582

Conversation

voidzcy
Copy link
Contributor

@voidzcy voidzcy commented Oct 31, 2020

#7427 changed to have xDS resource version info persist across ADS stream recreation so that the management server can choose to not send client resources that have already been sent previously (in the previous stream). It means the client should not consider previously received (resolved) resources not exist if it does not receive them on the new ADS stream. This PR fixes that.

@voidzcy voidzcy merged commit 7009c1a into grpc:master Nov 2, 2020
@voidzcy voidzcy changed the title xds: only reschedule time for unresolved resources upon ADS stream restarts xds: only reschedule timer for unresolved resources upon ADS stream restarts Nov 4, 2020
dfawley pushed a commit to dfawley/grpc-java that referenced this pull request Jan 15, 2021
…starts (grpc#7582)

Since the xDS resource version info persists across ADS stream recreation so that the management server can choose to not send client resources that have already been sent previously (in the previous stream). The client should not consider previously received (resolved) resources not exist if it does not receive them on the new ADS stream. So initial resource fetch timers should only be scheduled for unresolved resources when the ADS stream is recreated.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants