diff --git a/pkg/services/control/service.pb.go b/pkg/services/control/service.pb.go index e0c6e062..c9645941 100644 Binary files a/pkg/services/control/service.pb.go and b/pkg/services/control/service.pb.go differ diff --git a/pkg/services/control/service.proto b/pkg/services/control/service.proto index dc63a718..4cb1dee3 100644 --- a/pkg/services/control/service.proto +++ b/pkg/services/control/service.proto @@ -62,6 +62,9 @@ service ControlService { // Flush objects from write-cache and move it to degraded read only mode. rpc SealWriteCache(SealWriteCacheRequest) returns (SealWriteCacheResponse); + + // DetachShards detaches and closes shards. + rpc DetachShards(DetachShardsRequest) returns (DetachShardsResponse); } // Health check request. @@ -584,3 +587,21 @@ message SealWriteCacheResponse { Signature signature = 2; } + +message DetachShardsRequest { + message Body { + repeated bytes shard_ID = 1; + } + + Body body = 1; + Signature signature = 2; +} + +message DetachShardsResponse { + message Body { + } + + Body body = 1; + + Signature signature = 2; +} diff --git a/pkg/services/control/service_frostfs.pb.go b/pkg/services/control/service_frostfs.pb.go index b72fc0f1..125a12d0 100644 Binary files a/pkg/services/control/service_frostfs.pb.go and b/pkg/services/control/service_frostfs.pb.go differ diff --git a/pkg/services/control/service_grpc.pb.go b/pkg/services/control/service_grpc.pb.go index 89337323..69029ccb 100644 Binary files a/pkg/services/control/service_grpc.pb.go and b/pkg/services/control/service_grpc.pb.go differ