frostfs-node/pkg/local_object_storage
Leonard Lyubich ec04e787aa [#922] storage engine: Support operation blocking
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>
2021-11-12 17:28:38 +03:00
..
blobovnicza [#791] blobovnicza: Support read-only mode 2021-10-05 10:51:10 +03:00
blobstor [#933] FSTree: Add NumberOfObjects method 2021-10-25 18:49:10 +03:00
engine [#922] storage engine: Support operation blocking 2021-11-12 17:28:38 +03:00
internal/log [#790] storage engine: Add common template of log messages 2021-09-13 15:02:13 +03:00
metabase [#945] metabase: Use cleanup instead of defer in tests 2021-10-27 16:10:01 +03:00
shard [#901] *: release worker pools where possible 2021-10-25 18:53:36 +03:00
util [#477] metabase: Move MergeSplitInfo to storage/util pkg 2021-04-15 11:18:39 +03:00
writecache [#947] writecache: refactor object persisting 2021-11-01 15:52:56 +03:00