Skip to content

Commit

Permalink
Add default implementation to new finalizeSnapshot() in Repository (#…
Browse files Browse the repository at this point in the history
…16128)

Signed-off-by: Sachin Kale <[email protected]>
(cherry picked from commit 9a5c7b2)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] authored and reta committed Oct 3, 2024
1 parent 7dbaf25 commit 847ba51
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ void finalizeSnapshot(
* @param repositoryUpdatePriority priority for the cluster state update task
* @param listener listener to be invoked with the new {@link RepositoryData} after completing the snapshot
*/
void finalizeSnapshot(
default void finalizeSnapshot(
ShardGenerations shardGenerations,
long repositoryStateId,
Metadata clusterMetadata,
Expand All @@ -202,7 +202,9 @@ void finalizeSnapshot(
Function<ClusterState, ClusterState> stateTransformer,
Priority repositoryUpdatePriority,
ActionListener<RepositoryData> listener
);
) {
throw new UnsupportedOperationException();
}

/**
* Deletes snapshots
Expand Down

0 comments on commit 847ba51

Please sign in to comment.