mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-10 23:26:53 +00:00
fix(storage): harden rebalance and decommission state (#3730)
This commit is contained in:
@@ -664,6 +664,27 @@ impl NodeService for MinimalLockNodeService {
|
||||
Err(Status::unimplemented("lock-only test server"))
|
||||
}
|
||||
|
||||
async fn start_decommission(
|
||||
&self,
|
||||
_request: Request<rustfs_protos::proto_gen::node_service::StartDecommissionRequest>,
|
||||
) -> Result<Response<rustfs_protos::proto_gen::node_service::StartDecommissionResponse>, Status> {
|
||||
Err(Status::unimplemented("lock-only test server"))
|
||||
}
|
||||
|
||||
async fn cancel_decommission(
|
||||
&self,
|
||||
_request: Request<rustfs_protos::proto_gen::node_service::CancelDecommissionRequest>,
|
||||
) -> Result<Response<rustfs_protos::proto_gen::node_service::CancelDecommissionResponse>, Status> {
|
||||
Err(Status::unimplemented("lock-only test server"))
|
||||
}
|
||||
|
||||
async fn clear_decommission(
|
||||
&self,
|
||||
_request: Request<rustfs_protos::proto_gen::node_service::ClearDecommissionRequest>,
|
||||
) -> Result<Response<rustfs_protos::proto_gen::node_service::ClearDecommissionResponse>, Status> {
|
||||
Err(Status::unimplemented("lock-only test server"))
|
||||
}
|
||||
|
||||
async fn get_metrics(
|
||||
&self,
|
||||
_request: Request<rustfs_protos::proto_gen::node_service::GetMetricsRequest>,
|
||||
|
||||
Reference in New Issue
Block a user