forked from TrueCloudLab/frostfs-node
[#1700] engine: Drop unused block execution methods
`BlockExecution` and `ResumeExecution` were used only by unit test. So drop them and simplify code. Change-Id: Ib3de324617e8a27fc1f015542ac5e94df5c60a6e Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
e80632884a
commit
fd37cea443
3 changed files with 10 additions and 102 deletions
|
@ -33,9 +33,8 @@ type StorageEngine struct {
|
|||
wg sync.WaitGroup
|
||||
|
||||
blockExec struct {
|
||||
mtx sync.RWMutex
|
||||
|
||||
err error
|
||||
mtx sync.RWMutex
|
||||
closed bool
|
||||
}
|
||||
evacuateLimiter *evacuationLimiter
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue