Skip to content

Commit 7166a83

Browse files
author
Sachin Kale
committed
Change snapshot entity delimiter while pinning the timestamp
Signed-off-by: Sachin Kale <[email protected]>
1 parent 022acba commit 7166a83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/src/main/java/org/opensearch/snapshots/SnapshotsService.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public class SnapshotsService extends AbstractLifecycleComponent implements Clus
216216
Setting.Property.Dynamic
217217
);
218218

219-
private static final String SNAPSHOT_PINNED_TIMESTAMP_DELIMITER = ":";
219+
private static final String SNAPSHOT_PINNED_TIMESTAMP_DELIMITER = "__";
220220
private volatile int maxConcurrentOperations;
221221

222222
public SnapshotsService(

test/framework/src/main/java/org/opensearch/test/OpenSearchIntegTestCase.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -2886,7 +2886,7 @@ private static Settings buildRemoteStoreNodeAttributes(
28862886
}
28872887
settings.put(RemoteStoreSettings.CLUSTER_REMOTE_STORE_PATH_TYPE_SETTING.getKey(), randomFrom(PathType.values()));
28882888
settings.put(RemoteStoreSettings.CLUSTER_REMOTE_STORE_TRANSLOG_METADATA.getKey(), randomBoolean());
2889-
settings.put(RemoteStoreSettings.CLUSTER_REMOTE_STORE_PINNED_TIMESTAMP_ENABLED.getKey(), false);
2889+
settings.put(RemoteStoreSettings.CLUSTER_REMOTE_STORE_PINNED_TIMESTAMP_ENABLED.getKey(), randomBoolean());
28902890
return settings.build();
28912891
}
28922892

0 commit comments

Comments
 (0)