Skip to content

Commit

Permalink
chore: deprecate EngineBackupRestoreFinish RPC
Browse files Browse the repository at this point in the history
Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
  • Loading branch information
c3y1huang authored and innobead committed Sep 25, 2024
1 parent e60fb0a commit 486da0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion protobuf/imrpc/proxy.proto
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ service ProxyEngineService {
rpc SnapshotBackupStatus(EngineSnapshotBackupStatusRequest) returns (EngineSnapshotBackupStatusProxyResponse);
rpc BackupRestore(EngineBackupRestoreRequest) returns (EngineBackupRestoreProxyResponse);
rpc BackupRestoreStatus(ProxyEngineRequest) returns (EngineBackupRestoreStatusProxyResponse);
rpc BackupRestoreFinish(EngineBackupRestoreFinishRequest) returns (google.protobuf.Empty);
rpc BackupRestoreFinish(EngineBackupRestoreFinishRequest) returns (google.protobuf.Empty); // Deprecated: retained for compatibility with v1.7.x and earlier versions.
rpc CleanupBackupMountPoints(google.protobuf.Empty) returns (google.protobuf.Empty);

rpc ReplicaAdd(EngineReplicaAddRequest) returns (google.protobuf.Empty);
Expand Down Expand Up @@ -230,6 +230,7 @@ message EngineBackupRestoreStatus {
string backup_url = 8;
}

// Deprecated: retained for compatibility with v1.7.x and earlier versions.
message EngineBackupRestoreFinishRequest {
ProxyEngineRequest proxy_engine_request = 1;
}
Expand Down
3 changes: 2 additions & 1 deletion protobuf/spdkrpc/spdk.proto
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ service SPDKService {
rpc EngineBackupCreate(BackupCreateRequest) returns (BackupCreateResponse) {}
rpc EngineBackupStatus(BackupStatusRequest) returns (BackupStatusResponse) {}
rpc EngineBackupRestore(EngineBackupRestoreRequest) returns (EngineBackupRestoreResponse) {}
rpc EngineBackupRestoreFinish(EngineBackupRestoreFinishRequest) returns (google.protobuf.Empty) {}
rpc EngineBackupRestoreFinish(EngineBackupRestoreFinishRequest) returns (google.protobuf.Empty) {} // Deprecated: retained for compatibility with v1.7.x and earlier versions.
rpc EngineRestoreStatus(RestoreStatusRequest) returns (RestoreStatusResponse) {}

rpc DiskCreate(DiskCreateRequest) returns (Disk);
Expand Down Expand Up @@ -387,6 +387,7 @@ message EngineBackupRestoreResponse {
map<string, string> errors = 4;
}

// Deprecated: retained for compatibility with v1.7.x and earlier versions.
message EngineBackupRestoreFinishRequest {
string engine_name = 1;
}
Expand Down

0 comments on commit 486da0a

Please sign in to comment.