Add hotfix around xDS stream sometimes not responding with changes #683
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a hot fix for #682, as mentioned, this isn't a complete fix for the issue, but it should be good enough for now to ensure that any updates don't get forgotten, and I think we'll want to keep this implementation of the hotfix in even after we properly fix the issue, as there could be other network issues which this would hopefully solve.
This hot fix is similar to before we're we set the client to repeatedly request new information. The difference between this and the old version, is that this will now only set updates after a set timeout where the proxy hasn't received any new updates, rather than a fixed polling rate, this ensures that there can only be so much drift between a proxy and management server before the proxy starts asking the management server for new information.