envoyproxy / envoyproxy/gateway

Support recovery after translation errors

Offen
#5,465 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area/xds-translator stale
Vorherrschende Sprache
Go
Sterne
3k
Forks
864
Ø Merge
2 T. 2 Std.
Gemergte PRs (30 T.)
140

Beschreibung

*Description*:
Currently, EG may work in either `FailOpen` or `FailClosed` mode when encountering XDS translation errors. Errors can stem from invalid resources or transient failures (e.g. in connection to the extension server).

When failures occur, a best-effort XDS state is stored, which is likely disruptive to end users, either due to wiped-out routes and listeners or due to partially translated configuration.

EG should attempt to recover from failed translations. This can be accomplished by:
- Retrying translation (with delay and backoff)
- Retriggering translation when errors are fixed: malformed resources are fixed by users (already supported), connectivity to extension server is restored.
- Periodically reconciling XDS to fix entropy

Ideally, the message framework in EG should be used to trigger a recovery/retry translation. Components such as Extension Manager and XDS Translator should be able to trigger a retry/recover translation by publishing a relevant message.

[optional *Relevant Links*:]
>Any extra documentation required to understand the issue.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.