DCO action / DCO (pull_request) Successful in 1m36sDetails
Build / Build Components (1.20) (pull_request) Successful in 3m46sDetails
Vulncheck / Vulncheck (pull_request) Successful in 3m16sDetails
Tests and linters / Staticcheck (pull_request) Successful in 4m42sDetails
Tests and linters / Tests (1.20) (pull_request) Successful in 6m27sDetails
Tests and linters / Tests (1.21) (pull_request) Successful in 6m35sDetails
Tests and linters / Tests with -race (pull_request) Successful in 6m33sDetails
Build / Build Components (1.21) (pull_request) Successful in 13m7sDetails
Tests and linters / Lint (pull_request) Successful in 19m14sDetails
Due to the flushing data from the writecache to the storage
and simultaneous deletion, a partial deletion situation is possible.
So as a solution, deletion is allowed only when the object is in storage,
because object will be deleted from writecache by flush goroutine.
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This was set in #348 to speed up tests.
It seems 100ms doesn't increase overall test time,
but it reduces the amount of logs by 100x factor.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
Replace `ErrNotFound`/`ErrAlreadyRemoved` error from
`pkg/core/object` package with `ObjectNotFound`/`ObjectAlreadyRemoved`
one from `apistatus` package. These errors are returned by storage
node's server as NeoFS API statuses.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
Remove `Object` and `RawObject` types from `pkg/core/object` package.
Use `Object` type from NeoFS SDK Go library everywhere. Avoid using the
deprecated elements.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>