diff options
author | Harald Musum <musum@verizonmedia.com> | 2022-07-06 09:34:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-06 09:34:04 +0200 |
commit | 54e23255432e985a4c4abf318bc7c868ff119015 (patch) | |
tree | 48fdd58f631d2fe6e490c9cd580c70ceacb59860 /flags | |
parent | 0b5d5881c5e577f772a3b6c8a53d0028cf7bfde0 (diff) | |
parent | 4b4a127b644e732892f6b3fb8ca3db4a79ec1076 (diff) |
Merge pull request #23376 from vespa-engine/hmusum/add-flags-for-compression-types
Add flags for accepted compression types and type to use in file dist…
Diffstat (limited to 'flags')
-rw-r--r-- | flags/src/main/java/com/yahoo/vespa/flags/Flags.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java index 678e0c30d0f..f30cfbecc53 100644 --- a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java +++ b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java @@ -390,6 +390,20 @@ public class Flags { "Takes effect immediately", APPLICATION_ID); + public static final UnboundListFlag<String> FILE_DISTRIBUTION_ACCEPTED_COMPRESSION_TYPES = defineListFlag( + "file-distribution-accepted-compression-types", List.of("gzip"), String.class, + List.of("hmusum"), "2022-07-05", "2022-09-05", + "´List of accepted compression types used when asking for a file reference. Valid values: gzip, lz4", + "Takes effect on restart of service", + APPLICATION_ID); + + public static final UnboundListFlag<String> FILE_DISTRIBUTION_COMPRESSION_TYPES_TO_SERVE = defineListFlag( + "file-distribution-compression-types-to-use", List.of("gzip"), String.class, + List.of("hmusum"), "2022-07-05", "2022-09-05", + "List of compression types to use (in preferred order), matched with accepted compression types when serving file references. Valid values: gzip, lz4", + "Takes effect on restart of service", + APPLICATION_ID); + public static final UnboundBooleanFlag USE_YUM_PROXY_V2 = defineFeatureFlag( "use-yumproxy-v2", false, List.of("tokle"), "2022-05-05", "2022-09-01", |