From 8832dd9c5359c18985be0f346917537c02632b9a Mon Sep 17 00:00:00 2001 From: "data-plane-api(Azure Pipelines)" Date: Wed, 6 Apr 2022 21:56:55 +0000 Subject: [PATCH] Tcpproxy: implement on_demand (#20409) Add an extra async cluster look up. The continuation of the cluster look up is establishUpstreamConnection(). To establishConnection() is also the callback of upstream connection failure. Additional Description: Risk Level: LOW if odcds is disabled, the code path remains the same. Testing: Added integration tests and existing unit test is untouched. Docs Changes: n/a Release Notes: inline Signed-off-by: Yuchen Dai Mirrored from https://github.com/envoyproxy/envoy @ 0a587f23b21ab34b28d9c53428af259b3f7b0970 --- .../extensions/filters/network/tcp_proxy/v3/tcp_proxy.proto | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/envoy/extensions/filters/network/tcp_proxy/v3/tcp_proxy.proto b/envoy/extensions/filters/network/tcp_proxy/v3/tcp_proxy.proto index 99c44821..5be0bcd8 100644 --- a/envoy/extensions/filters/network/tcp_proxy/v3/tcp_proxy.proto +++ b/envoy/extensions/filters/network/tcp_proxy/v3/tcp_proxy.proto @@ -126,10 +126,9 @@ message TcpProxy { // The on demand policy for the upstream cluster. // It applies to both - // :ref:`TcpProxy.cluster ` // and - // :ref:`TcpProxy.weighted_clusters `. OnDemand on_demand = 14; // Optional endpoint metadata match criteria. Only endpoints in the upstream