From d07246b6239cd1f8416855003709b1d50ab861db Mon Sep 17 00:00:00 2001 From: Ashish Singh Date: Mon, 8 Apr 2024 22:05:32 +0530 Subject: [PATCH] Incoporate PR review feedback Signed-off-by: Ashish Singh --- .../index/remote/RemoteStoreUtils.java | 17 ++++------------- .../org/opensearch/indices/IndicesService.java | 2 +- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/server/src/main/java/org/opensearch/index/remote/RemoteStoreUtils.java b/server/src/main/java/org/opensearch/index/remote/RemoteStoreUtils.java index 1ae214fd16ef4..9aa8c826b4914 100644 --- a/server/src/main/java/org/opensearch/index/remote/RemoteStoreUtils.java +++ b/server/src/main/java/org/opensearch/index/remote/RemoteStoreUtils.java @@ -106,23 +106,14 @@ public static void verifyNoMultipleWriters(List mdFiles, Function CLUSTER_REMOTE_STORE_PATH_PREFIX_TYPE_SETTING = new Setting<>( "cluster.remote_store.index.path.prefix.type", - PathType.HASHED_PREFIX.toString(), + PathType.FIXED.toString(), PathType::parseString, Property.NodeScope, Property.Dynamic