Skip to content

Commit 685f43e

Browse files
committed
Change defaults for remote store and snapshot settings
Signed-off-by: Ashish Singh <[email protected]>
1 parent 26beb0f commit 685f43e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

server/src/main/java/org/opensearch/indices/RemoteStoreSettings.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public class RemoteStoreSettings {
7575
@ExperimentalApi
7676
public static final Setting<RemoteStoreEnums.PathType> CLUSTER_REMOTE_STORE_PATH_TYPE_SETTING = new Setting<>(
7777
"cluster.remote_store.index.path.type",
78-
RemoteStoreEnums.PathType.FIXED.toString(),
78+
RemoteStoreEnums.PathType.HASHED_PREFIX.toString(),
7979
RemoteStoreEnums.PathType::parseString,
8080
Property.NodeScope,
8181
Property.Dynamic
@@ -139,7 +139,7 @@ public class RemoteStoreSettings {
139139
*/
140140
public static final Setting<Boolean> CLUSTER_REMOTE_STORE_PINNED_TIMESTAMP_ENABLED = Setting.boolSetting(
141141
"cluster.remote_store.pinned_timestamps.enabled",
142-
false,
142+
true,
143143
Setting.Property.NodeScope
144144
);
145145

server/src/main/java/org/opensearch/repositories/blobstore/BlobStoreRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ protected static long calculateMaxWithinIntLimit(long defaultThresholdOfHeap, lo
412412
*/
413413
public static final Setting<Boolean> PREFIX_MODE_VERIFICATION_SETTING = Setting.boolSetting(
414414
"prefix_mode_verification",
415-
false,
415+
true,
416416
Setting.Property.NodeScope
417417
);
418418

0 commit comments

Comments
 (0)