Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a override function for finalizeSnapshot #1438

Merged
merged 3 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Version 2.17.0.0 Release Notes

Compatible with OpenSearch 2.17.0

### Bug Fixes
* Updating remote-migration IT with correct setting name ([#1412](https://github.com/opensearch-project/cross-cluster-replication/pull/1412))
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ import java.util.UUID
import java.util.function.Consumer
import java.util.function.Function
import kotlin.collections.ArrayList
import org.opensearch.common.Priority
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reorder ?


const val REMOTE_REPOSITORY_PREFIX = "replication-remote-repo-"
const val REMOTE_REPOSITORY_TYPE = "replication-remote-repository"
Expand Down Expand Up @@ -122,6 +123,13 @@ class RemoteClusterRepository(private val repositoryMetadata: RepositoryMetadata
throw UnsupportedOperationException("Operation not permitted")
}

override fun finalizeSnapshot(shardGenerations: ShardGenerations?, repositoryStateId: Long, clusterMetadata: Metadata?,
snapshotInfo: SnapshotInfo?, repositoryMetaVersion: Version?,
stateTransformer: Function<ClusterState, ClusterState>?, repositoryUpdatePriority: Priority,
listener: ActionListener<RepositoryData>?) {
throw UnsupportedOperationException("Operation not permitted")
}

override fun deleteSnapshots(snapshotIds: MutableCollection<SnapshotId>?, repositoryStateId: Long,
repositoryMetaVersion: Version?, listener: ActionListener<RepositoryData>?) {
throw UnsupportedOperationException("Operation not permitted")
Expand Down
Loading