forked from TrueCloudLab/frostfs-node
[#1284] writecache: Allow to seal writecache async
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
68029d756e
commit
93d63e1632
10 changed files with 252 additions and 170 deletions
|
@ -19,6 +19,7 @@ func (s *Server) SealWriteCache(ctx context.Context, req *control.SealWriteCache
|
|||
prm := engine.SealWriteCachePrm{
|
||||
ShardIDs: s.getShardIDList(req.GetBody().GetShard_ID()),
|
||||
IgnoreErrors: req.GetBody().GetIgnoreErrors(),
|
||||
Async: req.GetBody().GetAsync(),
|
||||
RestoreMode: req.GetBody().GetRestoreMode(),
|
||||
Shrink: req.GetBody().GetShrink(),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue