Skip to content

Commit

Permalink
Fix backward compatibility changes
Browse files Browse the repository at this point in the history
Signed-off-by: Ashish Singh <[email protected]>
  • Loading branch information
ashking94 committed Sep 4, 2024
1 parent fe68304 commit 4cab651
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,16 @@ public static class Builder extends BasePathInput.Builder<Builder> {
private DataCategory dataCategory;
private DataType dataType;

public Builder basePath(BlobPath basePath) {
super.basePath = basePath;
return this;
}

public Builder indexUUID(String indexUUID) {
super.indexUUID = indexUUID;
return this;
}

public Builder shardId(String shardId) {
this.shardId = shardId;
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,10 @@ public List<IndexId> resolveNewIndices(List<String> indicesToResolve, Map<String
return snapshotIndices;
}

public List<IndexId> resolveNewIndices(List<String> indicesToResolve, Map<String, IndexId> inFlightIds) {
return resolveNewIndices(indicesToResolve, inFlightIds, IndexId.DEFAULT_SHARD_PATH_TYPE);
}

private static final String SHARD_GENERATIONS = "shard_generations";
private static final String INDEX_METADATA_IDENTIFIERS = "index_metadata_identifiers";
private static final String INDEX_METADATA_LOOKUP = "index_metadata_lookup";
Expand Down

0 comments on commit 4cab651

Please sign in to comment.