Skip to content

[router] Warn on unknown retry_on policy tokens#45349

Open
nezdolik wants to merge 1 commit into
mainfrom
router-unknown-retry-policies
Open

[router] Warn on unknown retry_on policy tokens#45349
nezdolik wants to merge 1 commit into
mainfrom
router-unknown-retry-policies

Conversation

@nezdolik
Copy link
Copy Markdown
Member

When an xDS retry_on config contains unrecognized tokens (e.g., typos like "5x" instead of "5xx"), Envoy previously accepted the config silently and discarded the unknown tokens without any indication.
This PR adds a rate-limited warning log at config ingestion listing any unrecognized tokens.

Commit Message: [router] Warn on unknown retry_on policy tokens
Additional Description:
Risk Level: Low
Testing: Unit test
Docs Changes:
Release Notes:
Platform Specific Features:
Fixes #39470

Signed-off-by: Kateryna Nezdolii <kateryna.nezdolii@gmail.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.

unknown retry policy is silently ignored

2 participants