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

backport to 1.17: cluster: destroy on main thread (#14954) #15197

Merged
merged 3 commits into from
Mar 3, 2021

Conversation

cpakulski
Copy link
Contributor

Commit Message:
Always destroy cluster info object on the master thread.
Fixed SDS churn and a rare crash case.
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
Fixes:
#13209
istio/istio#30199
istio/istio#28315
[Optional Deprecated:]
[Optional API Considerations:]

KBaichoo and others added 3 commits February 25, 2021 19:59
Dispatcher will now keep a stack of tracked objects; on crash it'll "unwind" and have those objects dump their state. Moreover, it'll invoke fatal actions with the tracked objects. This allows us to dump more information during crash.

See related PR: envoyproxy#14509

Will follow up with another PR dumping information at the codec/parser level.

Signed-off-by: Kevin Baichoo <[email protected]>
Signed-off-by: Christoph Pakulski <[email protected]>
Signed-off-by: Yuchen Dai <[email protected]>
Signed-off-by: Christoph Pakulski <[email protected]>
Signed-off-by: Christoph Pakulski <[email protected]>
@cpakulski
Copy link
Contributor Author

/retest

@repokitteh-read-only
Copy link

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #15197 (comment) was created by @cpakulski.

see: more, trace.

@cpakulski cpakulski marked this pull request as ready for review February 26, 2021 15:08
@cpakulski
Copy link
Contributor Author

@lambdai Would you mind reviewing this backport?

@lambdai lambdai self-assigned this Feb 28, 2021
Copy link
Contributor

@lambdai lambdai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@lambdai
Copy link
Contributor

lambdai commented Mar 2, 2021

@cpakulski May I ask why Dispatcher: keeps a stack of tracked objects. (#14573) is included? Is it a piece of the dependency?

@cpakulski
Copy link
Contributor Author

@lambdai Yes, your changes were done on top of Dispatcher's commit d7bd136.
I got tons of conflicts after cherry-picking your commit. After including Dispatcher's commit everything went smooth.

@Shikugawa
Copy link
Member

@cpakulski Could you merge release/v1.17?

@cpakulski cpakulski merged commit b961323 into envoyproxy:release/v1.17 Mar 3, 2021
@cpakulski cpakulski deleted the rel1.17/14954 branch March 5, 2021 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants