From eadad460d81f115011d3604065a80e486d520fd2 Mon Sep 17 00:00:00 2001 From: "data-plane-api(Azure Pipelines)" Date: Thu, 23 Sep 2021 15:01:22 +0000 Subject: [PATCH] alt_svc_cache: adding flush capabilities (#18189) Risk Level: low Testing: new unit tests. integration test TODO in a follow up Docs Changes: n/a Release Notes: will land with integration test. Fixes #18034 Signed-off-by: Alyssa Wilk Mirrored from https://github.com/envoyproxy/envoy @ 7f63632be6b08193550041c4069e63f557b16c5d --- envoy/config/core/v3/protocol.proto | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/envoy/config/core/v3/protocol.proto b/envoy/config/core/v3/protocol.proto index 74b778b6..a1560318 100644 --- a/envoy/config/core/v3/protocol.proto +++ b/envoy/config/core/v3/protocol.proto @@ -102,6 +102,12 @@ message AlternateProtocolsCacheOptions { // it is possible for the maximum entries in the cache to go slightly above the configured // value depending on timing. This is similar to how other circuit breakers work. google.protobuf.UInt32Value max_entries = 2 [(validate.rules).uint32 = {gt: 0}]; + + // Allows configuring a persistent + // :ref:`key value store ` to flush + // alternate protocols entries to disk. + // This function is currently only supported if concurrency is 1 + TypedExtensionConfig key_value_store_config = 3; } // [#next-free-field: 7]