frostfs-node/pkg/local_object_storage/engine
Leonard Lyubich 1b51dcf8a4 [#546] engine/inhume: Fix incorrect Inhume behavior for root objects
If object to be inhumed is root we need to continue first traverse over the
shards. In case when several children are stored in different shards,
inhuming object in a single shard leads to appearance of inhumed object in
subsequent selections. Also, any object can be already inhumed, and this
case is equivalent to successful inhume.

Do not fail on `object.ErrAlreadyRemoved` error. Continue first iterating
over shards if we detected root object (`SplitInfoError`).

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-05-20 17:39:38 +03:00
..
container.go [#426] Put prometheus behind pkg/metrics 2021-03-17 10:58:00 +03:00
control.go [#521] *: use stdlib `errors` package 2021-05-19 16:42:54 +03:00
delete.go [#426] Put prometheus behind pkg/metrics 2021-03-17 10:58:00 +03:00
engine.go [#426] Put prometheus behind pkg/metrics 2021-03-17 10:58:00 +03:00
engine_test.go [#477] engine: Add test for missing link issue 2021-04-15 11:18:39 +03:00
exists.go [#426] Put prometheus behind pkg/metrics 2021-03-17 10:58:00 +03:00
get.go [#477] metabase: Move `MergeSplitInfo` to storage/util pkg 2021-04-15 11:18:39 +03:00
head.go [#521] *: use stdlib `errors` package 2021-05-19 16:42:54 +03:00
head_test.go [#477] engine: Add test for missing link issue 2021-04-15 11:18:39 +03:00
info.go [#189] localstorage: Implement DumpInfo method 2020-12-11 17:19:37 +03:00
inhume.go [#546] engine/inhume: Fix incorrect Inhume behavior for root objects 2021-05-20 17:39:38 +03:00
inhume_test.go [#546] engine/inhume: Write unit tests 2021-05-20 17:39:38 +03:00
metrics.go [#426] Put prometheus behind pkg/metrics 2021-03-17 10:58:00 +03:00
put.go [#426] Put prometheus behind pkg/metrics 2021-03-17 10:58:00 +03:00
range.go [#477] metabase: Move `MergeSplitInfo` to storage/util pkg 2021-04-15 11:18:39 +03:00
select.go [#426] Put prometheus behind pkg/metrics 2021-03-17 10:58:00 +03:00
shards.go [#521] *: use stdlib `errors` package 2021-05-19 16:42:54 +03:00