consul/agent/proxycfg
Dhia Ayachi d641998641
Fix to not create a watch to `Internal.ServiceDump` when mesh gateway is not used (#20168)
This add a fix to properly verify the gateway mode before creating a watch specific to mesh gateways. This watch have a high performance cost and when mesh gateways are not used is not used.

This also adds an optimization to only return the nodes when watching the Internal.ServiceDump RPC to avoid unnecessary disco chain compilation. As watches in proxy config only need the nodes.
2024-01-18 16:44:53 -06:00
..
internal/watch
api_gateway.go
api_gateway_ce.go
config_snapshot_glue.go
config_snapshot_glue_test.go
connect_proxy.go
data_sources.go
data_sources_ce.go
deep-copy.sh
ingress_gateway.go
manager.go
manager_test.go
mesh_gateway.go Fix to not create a watch to `Internal.ServiceDump` when mesh gateway is not used (#20168) 2024-01-18 16:44:53 -06:00
mesh_gateway_ce.go
naming.go
naming_ce.go
naming_test.go
proxycfg.deepcopy.go Fix ClusterLoadAssignment timeouts dropping endpoints. (#19871) 2023-12-11 09:25:11 -06:00
proxycfg.go
snapshot.go Fix ClusterLoadAssignment timeouts dropping endpoints. (#19871) 2023-12-11 09:25:11 -06:00
snapshot_test.go Fix ClusterLoadAssignment timeouts dropping endpoints. (#19871) 2023-12-11 09:25:11 -06:00
state.go Fix to not create a watch to `Internal.ServiceDump` when mesh gateway is not used (#20168) 2024-01-18 16:44:53 -06:00
state_ce_test.go
state_test.go Fix to not create a watch to `Internal.ServiceDump` when mesh gateway is not used (#20168) 2024-01-18 16:44:53 -06:00
terminating_gateway.go
testing.go
testing_api_gateway.go
testing_ce.go
testing_connect_proxy.go
testing_ingress_gateway.go
testing_mesh_gateway.go
testing_peering.go Fix ClusterLoadAssignment timeouts dropping endpoints. (#19871) 2023-12-11 09:25:11 -06:00
testing_terminating_gateway.go Fix ClusterLoadAssignment timeouts dropping endpoints. (#19871) 2023-12-11 09:25:11 -06:00
testing_tproxy.go Fix ClusterLoadAssignment timeouts dropping endpoints. (#19871) 2023-12-11 09:25:11 -06:00
testing_upstreams.go [NET-5455] Allow disabling request and idle timeouts with negative values in service router and service resolver (#19992) 2023-12-19 15:36:07 -08:00
testing_upstreams_ce.go
upstreams.go Fix to not create a watch to `Internal.ServiceDump` when mesh gateway is not used (#20168) 2024-01-18 16:44:53 -06:00