Skip to content

Commit

Permalink
Remove delimiter from entity to pin
Browse files Browse the repository at this point in the history
Signed-off-by: Sachin Kale <[email protected]>
  • Loading branch information
Sachin Kale committed Sep 3, 2024
1 parent 9f81479 commit 46a0bbd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public class SnapshotsService extends AbstractLifecycleComponent implements Clus
Setting.Property.Dynamic
);

private static final String SNAPSHOT_PINNED_TIMESTAMP_DELIMITER = ":";
private static final String SNAPSHOT_PINNED_TIMESTAMP_DELIMITER = "";
private volatile int maxConcurrentOperations;

public SnapshotsService(
Expand Down Expand Up @@ -600,7 +600,7 @@ private void updateSnapshotPinnedTimestamp(
) {
remoteStorePinnedTimestampService.pinTimestamp(
timestampToPin,
snapshot.getRepository() + SNAPSHOT_PINNED_TIMESTAMP_DELIMITER + snapshot.getSnapshotId().getUUID(),
snapshot.getRepository() + snapshot.getSnapshotId().getUUID(),
new ActionListener<Void>() {
@Override
public void onResponse(Void unused) {
Expand Down

0 comments on commit 46a0bbd

Please sign in to comment.