Skip to content

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

Merged
cpakulski merged 3 commits intoenvoyproxy:release/v1.17from
cpakulski:rel1.17/14954
Mar 3, 2021
Merged

backport to 1.17: cluster: destroy on main thread (#14954)#15197
cpakulski merged 3 commits intoenvoyproxy:release/v1.17from
cpakulski:rel1.17/14954

Conversation

@cpakulski
Copy link
Copy Markdown
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 <kbaichoo@google.com>
Signed-off-by: Christoph Pakulski <christoph@tetrate.io>
Signed-off-by: Yuchen Dai <silentdai@gmail.com>
Signed-off-by: Christoph Pakulski <christoph@tetrate.io>
Signed-off-by: Christoph Pakulski <christoph@tetrate.io>
@cpakulski
Copy link
Copy Markdown
Contributor Author

/retest

@repokitteh-read-only
Copy link
Copy Markdown

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
Copy Markdown
Contributor Author

@lambdai Would you mind reviewing this backport?

@cpakulski cpakulski requested a review from lambdai February 26, 2021 15:09
@lambdai lambdai self-assigned this Feb 28, 2021
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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