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

Add DNS query Trace of NotStarted before queuing. #38186

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

asedeno
Copy link
Contributor

@asedeno asedeno commented Jan 24, 2025

Before this change, it was possible that the addTrace(NotStarted) occured after the resolver thread picked up the query and started work. This can be seen when running the getaddrinfo tests 1000 times in the form of failure around or just under 1% of the time.

bazel test --config=libc++ --runs_per_test 1000 //test/extensions/network/dns_resolver/getaddrinfo:getaddrinfo_test

Risk Level: low
Testing: CI

Before this change, it was possible that the `addTrace(NotStarted)`
occured after the resolver thread picked up the query and started
work. This can be seen when running the getaddrinfo tests 1000 times
in the form of failure around or just under 1% of the time.

bazel test --config=libc++ --runs_per_test 1000 //test/extensions/network/dns_resolver/getaddrinfo:getaddrinfo_test

Signed-off-by: Alejandro R. Sedeño <[email protected]>
Copy link
Member

@fredyw fredyw left a comment

Choose a reason for hiding this comment

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

Thanks!

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.

2 participants