-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Cluster initialization issue. Envoy start could be blocked forever #13874
Labels
Comments
#13875 should fix to the 2nd issue. |
reproduced the failure in clang-asan config. The secondary_init_clusters_ contains wild pointer
|
cc @rgs1 this is causing multiple issues. We are going to revert the original PR, so let's go from there. |
@mattklein123 @rgs1 |
And I suspect the first bug (early remove cluster) is not a regression |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If a cluster is warming during server start, a second update on this cluster may put the envoy in the state that start never happen.
Notes that another update must be "real" which means the config cannot be determined as duplicated config.
The full story is
The counter not decrease will block the Envoy initialization, see istio/istio#28500 (comment)
I am not fully sure how bad is destroy-before-add, in LDS api this is explicitly forbidden since the last warming destroy will early signal the init manager that "all clusters are ready"
Also the entire log file could be found in the attached istio issue.
[1] init manager destroyed before init
[2] increase twice, decrease once
The text was updated successfully, but these errors were encountered: