Skip to content

cares: fix bad cleanup of parallel All query during destroy#20551

Merged
yanavlasov merged 1 commit intomainfrom
fix_dns
Mar 28, 2022
Merged

cares: fix bad cleanup of parallel All query during destroy#20551
yanavlasov merged 1 commit intomainfrom
fix_dns

Conversation

@mattklein123
Copy link
Member

The code was not accounting for parallel queries in this path. Also
add more assertions to make similar issues easier to understand in
the future.

Risk Level: Medium (code is very tricky, hard to understand all implications of the change, and per TODO test coverage is missing on some clearly critical paths).
Testing: New failing test prior to fix
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

The code was not accounting for parallel queries in this path. Also
add more assertions to make similar issues easier to understand in
the future.

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

@snowp snowp left a comment

Choose a reason for hiding this comment

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

Change makes sense to me, thanks!

@yanavlasov yanavlasov enabled auto-merge (squash) March 28, 2022 17:52
@yanavlasov yanavlasov merged commit 419e237 into main Mar 28, 2022
@mattklein123 mattklein123 deleted the fix_dns branch March 28, 2022 19:12
Augustyniak added a commit to envoyproxy/envoy-mobile that referenced this pull request Mar 28, 2022
Signed-off-by: Rafal Augustyniak raugustyniak@lyft.com

Picking up a crash fix for when ALL DNS mode is enabled on Android (as a result of Happy Eyeballs feature being enabled) envoyproxy/envoy#20551
mattklein123 added a commit that referenced this pull request Mar 28, 2022
The code was not accounting for parallel queries in this path. Also
add more assertions to make similar issues easier to understand in
the future.

Signed-off-by: Matt Klein <mklein@lyft.com>
ravenblackx pushed a commit to ravenblackx/envoy that referenced this pull request Jun 8, 2022
…xy#20551)

The code was not accounting for parallel queries in this path. Also
add more assertions to make similar issues easier to understand in
the future.

Signed-off-by: Matt Klein <mklein@lyft.com>
jpsim pushed a commit that referenced this pull request Nov 29, 2022
Signed-off-by: Rafal Augustyniak raugustyniak@lyft.com

Picking up a crash fix for when ALL DNS mode is enabled on Android (as a result of Happy Eyeballs feature being enabled) #20551

Signed-off-by: JP Simard <jp@jpsim.com>
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.

3 participants