envoyproxy / envoyproxy/gateway
Failover isn't working when backend-level filter is applied
- Dominant language
- Go
- Stars
- 3k
- Forks
- 864
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 140
Description
Failover in this [doc](https://gateway.envoyproxy.io/latest/tasks/traffic/failover/) cannot work as expected when backend-level filter is applied.
After simulating the active app failure, Envoy continues sending requests to it
In the released v1.3.0, I observed that failover depends on a "BIG"(rule-level) cluster, with weights for different backends within a rule set in the endpoints.
This implementation make add-header filter at the backend level defective.
I notice this issue has been fixed in https://github.com/envoyproxy/gateway/pull/3246. But this disrupts failover.
When I enable backend-level filter, the rule-level cluster is absent, causing the failover to not work in this scenario.
*Repro steps*:
> Include sample requests, environment, etc. All data and inputs
required to reproduce the bug.
>**Note**: If there are privacy concerns, sanitize the data prior to
sharing.
*Environment*:
>Include the environment like gateway version, envoy version and so on.
*Logs*:
>Include the access logs and the Envoy logs.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.