forked from TrueCloudLab/frostfs-node
[#1350] node: Add ability to evacuate objects from REP 1
only
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
parent
5f22ba6f38
commit
d0ed29b3c7
9 changed files with 340 additions and 6 deletions
|
@ -31,6 +31,7 @@ func (s *Server) StartShardEvacuation(ctx context.Context, req *control.StartSha
|
|||
Scope: engine.EvacuateScope(req.GetBody().GetScope()),
|
||||
ContainerWorkerCount: req.GetBody().GetContainerWorkerCount(),
|
||||
ObjectWorkerCount: req.GetBody().GetObjectWorkerCount(),
|
||||
RepOneOnly: req.GetBody().GetRepOneOnly(),
|
||||
}
|
||||
|
||||
_, err = s.s.Evacuate(ctx, prm)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue