Skip to content

Commit

Permalink
Revert "chore(restore): remove EngineBackupRestoreFinish"
Browse files Browse the repository at this point in the history
This reverts commit cb5302f.

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
  • Loading branch information
c3y1huang authored and innobead committed Sep 25, 2024
1 parent ea0f8b6 commit aad5de7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions protobuf/imrpc/proxy.proto
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +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 CleanupBackupMountPoints(google.protobuf.Empty) returns (google.protobuf.Empty);

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

message EngineBackupRestoreFinishRequest {
ProxyEngineRequest proxy_engine_request = 1;
}

message EngineReplicaAddRequest {
ProxyEngineRequest proxy_engine_request = 1;

Expand Down
5 changes: 5 additions & 0 deletions protobuf/spdkrpc/spdk.proto
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +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 EngineRestoreStatus(RestoreStatusRequest) returns (RestoreStatusResponse) {}

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

message EngineBackupRestoreFinishRequest {
string engine_name = 1;
}

message ReplicaBackupRestoreRequest {
string backup_url = 1;
string replica_name = 2;
Expand Down

0 comments on commit aad5de7

Please sign in to comment.