open-consul/agent/proxycfg
Daniel Upton 1cd7ec0543 proxycfg: terminate stream on irrecoverable errors
This is the OSS portion of enterprise PR 2339.

It improves our handling of "irrecoverable" errors in proxycfg data sources.

The canonical example of this is what happens when the ACL token presented by
Envoy is deleted/revoked. Previously, the stream would get "stuck" until the
xDS server re-checked the token (after 5 minutes) and terminated the stream.

Materializers would also sit burning resources retrying something that could
never succeed.

Now, it is possible for data sources to mark errors as "terminal" which causes
the xDS stream to be closed immediately. Similarly, the submatview.Store will
evict materializers when it observes they have encountered such an error.
2022-08-23 20:17:49 +01:00
..
internal/watch
connect_proxy.go
data_sources.go
data_sources_oss.go
ingress_gateway.go
manager.go
manager_test.go
mesh_gateway.go
mesh_gateway_oss.go
naming.go
naming_oss.go
naming_test.go
proxycfg.go
snapshot.go
state.go
state_oss_test.go
state_test.go
terminating_gateway.go
testing.go
testing_connect_proxy.go
testing_ingress_gateway.go
testing_mesh_gateway.go
testing_oss.go
testing_peering.go
testing_terminating_gateway.go
testing_tproxy.go
testing_upstreams.go
upstreams.go