ec04e787aa
There is a need to disable execution of local data operation on storage engine in runtime. If storage engine ops are blocked, node will act like always but all local object operations will be denied. Implement `BlockExecution` / `ResumeExecution` methods on `StorageEngine` which blocks / resumes the execution of data ops. Wait for the completion of all operations executed at the time of the call. Return error passed to `BlockExecution` from all data-related methods until `ResumeExecution` call. Make `Close` to block operations as well. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru> |
||
---|---|---|
.. | ||
container.go | ||
control.go | ||
delete.go | ||
engine.go | ||
engine_test.go | ||
exists.go | ||
get.go | ||
head.go | ||
head_test.go | ||
info.go | ||
inhume.go | ||
inhume_test.go | ||
metrics.go | ||
put.go | ||
range.go | ||
select.go | ||
shards.go |