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

dfp: Add a feature to disable DNS query timeout #38067

Merged
merged 30 commits into from
Jan 22, 2025

Conversation

fredyw
Copy link
Member

@fredyw fredyw commented Jan 16, 2025

This PR adds a feature to disable the Envoy DNS query timeout and use the underlying DNS implementation timeout by setting DnsCacheConfig.dns_query_timeout to 0.

Risk Level: low
Testing: unit and integration test
Docs Changes: inline
Release Notes: inline
Platform Specific Features: dfp

Signed-off-by: Fredy Wijaya <[email protected]>
Copy link

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #38067 was opened by fredyw.

see: more, trace.

Signed-off-by: Fredy Wijaya <[email protected]>
@fredyw
Copy link
Member Author

fredyw commented Jan 16, 2025

/retest

Signed-off-by: Fredy Wijaya <[email protected]>
Signed-off-by: Fredy Wijaya <[email protected]>
Signed-off-by: Fredy Wijaya <[email protected]>
Signed-off-by: Fredy Wijaya <[email protected]>
Signed-off-by: Fredy Wijaya <[email protected]>
Signed-off-by: Fredy Wijaya <[email protected]>
@fredyw fredyw marked this pull request as ready for review January 17, 2025 01:20
@fredyw
Copy link
Member Author

fredyw commented Jan 17, 2025

/assign @alyssawilk

Signed-off-by: Fredy Wijaya <[email protected]>
Copy link

CC @envoyproxy/runtime-guard-changes: FYI only for changes made to (source/common/runtime/runtime_features.cc).
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy/|docs/root/api-docs/).
envoyproxy/api-shepherds assignee is @adisuissa
CC @envoyproxy/api-watchers: FYI only for changes made to (api/envoy/|docs/root/api-docs/).

🐱

Caused by: #38067 was synchronize by fredyw.

see: more, trace.

@fredyw fredyw changed the title dfp: Add a knob to disable resolve timeout dfp: Add a knob to disable DNS resolve timeout Jan 21, 2025
Signed-off-by: Fredy Wijaya <[email protected]>
@fredyw fredyw changed the title dfp: Add a knob to disable DNS resolve timeout dfp: Add a feature to disable DNS resolve timeout Jan 21, 2025
@fredyw fredyw changed the title dfp: Add a feature to disable DNS resolve timeout dfp: Add a feature to disable DNS query timeout Jan 21, 2025
Signed-off-by: Fredy Wijaya <[email protected]>
Signed-off-by: Fredy Wijaya <[email protected]>
Signed-off-by: Fredy Wijaya <[email protected]>
Signed-off-by: Fredy Wijaya <[email protected]>
Signed-off-by: Fredy Wijaya <[email protected]>
Signed-off-by: Fredy Wijaya <[email protected]>
Signed-off-by: Fredy Wijaya <[email protected]>
Signed-off-by: Fredy Wijaya <[email protected]>
Signed-off-by: Fredy Wijaya <[email protected]>
Signed-off-by: Fredy Wijaya <[email protected]>
Copy link
Contributor

@adisuissa adisuissa left a comment

Choose a reason for hiding this comment

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

/lgtm api

changelogs/current.yaml Outdated Show resolved Hide resolved
alyssawilk
alyssawilk previously approved these changes Jan 22, 2025
Signed-off-by: Fredy Wijaya <[email protected]>
Signed-off-by: Fredy Wijaya <[email protected]>
@fredyw
Copy link
Member Author

fredyw commented Jan 22, 2025

/retest

@alyssawilk alyssawilk enabled auto-merge (squash) January 22, 2025 17:28
@alyssawilk alyssawilk merged commit e3246a5 into envoyproxy:main Jan 22, 2025
25 checks passed
@fredyw fredyw deleted the disable_resolve_timeout branch January 22, 2025 17:36
bazmurphy pushed a commit to bazmurphy/envoy that referenced this pull request Jan 29, 2025
This PR adds a feature to disable the Envoy DNS query timeout and use
the underlying DNS implementation timeout by setting
`DnsCacheConfig.dns_query_timeout` to 0.

Risk Level: low
Testing: unit and integration test
Docs Changes: inline
Release Notes: inline
Platform Specific Features: dfp

---------

Signed-off-by: Fredy Wijaya <[email protected]>
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