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.
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.
Can you distinguish between the very first update and alter updates? In particular, I think we should warn when a management server is unreachable etc. but not during normal disconnects (e.g. gRPC load shed).
Uh oh!
There was an error while loading. Please reload this page.
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.
If it is not unreachable during Envoy startup, we get the following warning already
[2018-06-27 13:47:24.884][27][warning][upstream] source/common/config/grpc_mux_impl.cc:235] gRPC config stream closed: 14, upstream connect error or disconnect/reset before headers
Is this sufficient? or are you thinking of some thing else?
If we do not use ADS, individual xDS apis may be still logging this for first unreachability also?
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.
Ok. So do you want this to be warn till at least one successful update has happened or one update attempt? Based on that, I think we can evaluate the corresponding stat and distinguish between debug and warn.
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.
OK, seems fine then if we are already observing a connection level warning.