consul/agent/proxycfg-glue
Daniel Upton 13c04a13af 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
..
config_entry.go
config_entry_test.go
discovery_chain.go
discovery_chain_test.go
exported_peered_services.go
exported_peered_services_test.go
federation_state_list_mesh_gateways.go
federation_state_list_mesh_gateways_test.go
gateway_services.go
gateway_services_test.go
glue.go proxycfg: terminate stream on irrecoverable errors 2022-08-23 20:17:49 +01:00
health.go
health_test.go
helpers_test.go
intention_upstreams.go proxycfg: terminate stream on irrecoverable errors 2022-08-23 20:17:49 +01:00
intention_upstreams_test.go
intentions.go proxycfg: terminate stream on irrecoverable errors 2022-08-23 20:17:49 +01:00
intentions_ent_test.go
intentions_oss.go
intentions_test.go
peered_upstreams.go
peered_upstreams_test.go
service_list.go
service_list_test.go
trust_bundle.go
trust_bundle_test.go