Skip to content

Conversation

mattklein123
Copy link
Member

Calling clearDeferredDeleteList() in the health check destructor
is very hard to reason about and can immediately delete items
in the list that need to stay deferred. This change reworks the
logic to no longer require doing that. This is much easier to
reason about.

Fixes #6951

Risk Level: Low
Testing: TBD
Docs Changes: N/A
Release Notes: N/A

Calling clearDeferredDeleteList() in the health check destructor
is very hard to reason about and can immediately delete items
in the list that need to stay deferred. This change reworks the
logic to no longer require doing that. This is much easier to
reason about.

Fixes #6951

Signed-off-by: Matt Klein <mklein@lyft.com>
@mattklein123
Copy link
Member Author

@snowp per offline convo do you mind taking this over and adding your cleaned up crashing test?

@snowp
Copy link
Contributor

snowp commented May 17, 2019

Yep will do

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.

Envoy crash in Http2Callbacks
2 participants