From 8ca612212e210f733161e2ba18c87f9be6762f35 Mon Sep 17 00:00:00 2001 From: Siddhant Deshmukh Date: Thu, 19 Oct 2023 00:38:01 -0700 Subject: [PATCH] Remove additional Signed-off-by: Siddhant Deshmukh --- CHANGELOG.md | 2 -- .../org/opensearch/common/util/FeatureFlags.java | 12 +----------- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index db968f6814144..0eb276d0555fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,8 +10,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - [Remote cluster state] Change file names for remote cluster state ([#10557](https://github.com/opensearch-project/OpenSearch/pull/10557)) - [Remote cluster state] Upload global metadata in cluster state to remote store([#10404](https://github.com/opensearch-project/OpenSearch/pull/10404)) - Add search query categorizor ([#10255](https://github.com/opensearch-project/OpenSearch/pull/10255)) -- [Remote cluster state] Download functionality of global metadata from remote store ([#10535](https://github.com/opensearch-project/OpenSearch/pull/10535)) -- [Remote cluster state] Restore global metadata from remote store when local state is lost after quorum loss ([#10404](https://github.com/opensearch-project/OpenSearch/pull/10404)) ### Dependencies - Bumps jetty version to 9.4.52.v20230823 to fix GMS-2023-1857 ([#9822](https://github.com/opensearch-project/OpenSearch/pull/9822)) diff --git a/server/src/main/java/org/opensearch/common/util/FeatureFlags.java b/server/src/main/java/org/opensearch/common/util/FeatureFlags.java index a954016e19628..aaad4f6aa5675 100644 --- a/server/src/main/java/org/opensearch/common/util/FeatureFlags.java +++ b/server/src/main/java/org/opensearch/common/util/FeatureFlags.java @@ -54,12 +54,7 @@ public class FeatureFlags { * Gates the functionality of telemetry framework. */ public static final String TELEMETRY = "opensearch.experimental.feature.telemetry.enabled"; - - /** - * Gates the optimization of datetime formatters caching along with change in default datetime formatter. - */ - public static final String DATETIME_FORMATTER_CACHING = "opensearch.experimental.optimization.datetime_formatter_caching.enabled"; - + /** * Should store the settings from opensearch.yml. */ @@ -106,9 +101,4 @@ public static boolean isEnabled(String featureFlagName) { Property.NodeScope ); - public static final Setting DATETIME_FORMATTER_CACHING_SETTING = Setting.boolSetting( - DATETIME_FORMATTER_CACHING, - true, - Property.NodeScope - ); }