frostfs-node/pkg
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
..
core [#919] pkg/object: Do not accept objects with empty owner 2021-10-18 12:15:06 +03:00
innerring [#938] ir/netmap: Call AddPeer method if existing candidate was updated 2021-11-10 18:05:30 +03:00
local_object_storage [#922] storage engine: Support operation blocking 2021-11-12 17:28:38 +03:00
metrics [#426] Put prometheus behind pkg/metrics 2021-03-17 10:58:00 +03:00
morph [#936] morph/nns: Add record existence check 2021-11-10 16:11:57 +03:00
network [#883] network: parse URI properly 2021-10-12 15:50:51 +03:00
services [#842] object/delete: Set tombstone local node as tombstone owner 2021-11-10 16:18:02 +03:00
util [#955] locode: Use the nearest polygon when continent can't be found 2021-11-02 10:30:23 +03:00