frostfs-node/pkg/local_object_storage/metabase
Leonard Lyubich 14329ab565 [#840] metabase: Distinguish objects with tombstones and GC marks
Each object from graveyard has tombstone or GC mark. If object has
tombstone, metabase should return `ErrAlreadyRemoved` on object requests.
This is the case when user clearly removed the object from container. GC
marks are used for physical removal which can appear even if object is still
presented in container (Control service, Policer job, etc.). In this case
metabase should return 404 error on object requests.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-09-27 11:27:41 +03:00
..
cleanup.go [#337] metabase: Keep container size estimation 2021-01-29 11:04:30 +03:00
containers.go [#570] *: Remove usage of deprecated elements from API Go library 2021-05-31 20:45:15 +03:00
containers_test.go [#570] *: Use generator of test container IDs from API Go lib 2021-05-31 20:45:15 +03:00
control.go [#789] metabase: Implement Reset method 2021-09-15 18:22:09 +03:00
control_test.go [#789] metabase: Implement Reset method 2021-09-15 18:22:09 +03:00
db.go [#760] metabase: Support COMMON_PREFIX matchtype 2021-08-27 15:03:15 +03:00
db_test.go [#570] *: Use generator of test owner IDs from API Go lib 2021-05-31 20:45:15 +03:00
delete.go [#521] *: use stdlib errors package 2021-05-19 16:42:54 +03:00
delete_test.go [#570] *: Use generator of test container IDs from API Go lib 2021-05-31 20:45:15 +03:00
exists.go [#840] metabase: Distinguish objects with tombstones and GC marks 2021-09-27 11:27:41 +03:00
exists_test.go [#570] *: Use generator of test container IDs from API Go lib 2021-05-31 20:45:15 +03:00
get.go [#840] metabase: Distinguish objects with tombstones and GC marks 2021-09-27 11:27:41 +03:00
get_test.go [#840] metabase: Distinguish objects with tombstones and GC marks 2021-09-27 11:27:41 +03:00
graveyard.go [#521] *: use stdlib errors package 2021-05-19 16:42:54 +03:00
graveyard_test.go [#378] metabase: Implement iterator over metabase graveyard 2021-02-19 11:56:32 +03:00
info.go [#638] Update to Go 1.16 2021-06-29 13:44:59 +03:00
inhume.go [#521] *: use stdlib errors package 2021-05-19 16:42:54 +03:00
inhume_test.go [#521] *: use stdlib errors package 2021-05-19 16:42:54 +03:00
iterators.go [#570] *: Remove usage of deprecated elements from API Go library 2021-05-31 20:45:15 +03:00
iterators_test.go [#378] metabase: Implement iterator over the objects under tombstones 2021-02-19 11:56:32 +03:00
movable.go [#643] pkg: Sync method names and commentaries to them 2021-06-24 16:10:44 +03:00
movable_test.go [#237] metabase: Structure parameters and results of all operations 2020-12-11 17:19:37 +03:00
put.go [#472] blobstor: implement write-cache 2021-04-29 17:36:36 +03:00
put_test.go [#472] blobstor: implement write-cache 2021-04-29 17:36:36 +03:00
select.go [#840] metabase: Distinguish objects with tombstones and GC marks 2021-09-27 11:27:41 +03:00
select_test.go [#760] metabase: Support COMMON_PREFIX matchtype 2021-08-27 15:03:15 +03:00
small.go [#237] metabase: Structure parameters and results of all operations 2020-12-11 17:19:37 +03:00
small_test.go [#237] metabase: Structure parameters and results of all operations 2020-12-11 17:19:37 +03:00
util.go [#789] metabase: Implement Reset method 2021-09-15 18:22:09 +03:00