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 proxycfg: terminate stream on irrecoverable errors 2022-08-23 20:17:49 +01:00
data_sources_oss.go
ingress_gateway.go
manager.go proxycfg: terminate stream on irrecoverable errors 2022-08-23 20:17:49 +01:00
manager_test.go
mesh_gateway.go
mesh_gateway_oss.go
naming.go Cluster peering failover disco chain changes (#14296) 2022-08-23 09:13:43 -04:00
naming_oss.go
naming_test.go Cluster peering failover disco chain changes (#14296) 2022-08-23 09:13:43 -04:00
proxycfg.go
snapshot.go
state.go proxycfg: terminate stream on irrecoverable errors 2022-08-23 20:17:49 +01:00
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 inject gateway addons to destination clusters (#13951) 2022-07-28 15:17:35 -04:00
testing_tproxy.go Tgtwy egress HTTP support (#13953) 2022-08-01 14:12:43 -04:00
testing_upstreams.go
upstreams.go