frostfs-node/pkg/local_object_storage/metabase
Leonard Lyubich df909984bd [#461] metabase: Delete graves regardless of the presence of objects
`Inhume` operation can be performed on already deleted objects, and in this
case the entry will be added to the graveyard. `Delete` operation finishes
with error if object is not presented in metabase. However, the entry in the
cemetery must be deleted regardless of the presence of the object.

Additionally, now `Delete` does not return an error in the absence of an
object.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-04-06 17:34:01 +03:00
..
cleanup.go [#337] metabase: Keep container size estimation 2021-01-29 11:04:30 +03:00
containers.go [#337] metabase: Keep container size estimation 2021-01-29 11:04:30 +03:00
containers_test.go [#337] metabase: Keep container size estimation 2021-01-29 11:04:30 +03:00
control.go Remove outdated code of metabase and localstore 2020-12-11 17:19:37 +03:00
db.go [#361] metabase: Support new match types 2021-02-03 10:32:15 +03:00
db_test.go [#438] metabase: Write unit tests for checking the absence of payloads 2021-03-22 21:40:27 +03:00
delete.go [#461] metabase: Delete graves regardless of the presence of objects 2021-04-06 17:34:01 +03:00
delete_test.go [#461] metabase: Delete graves regardless of the presence of objects 2021-04-06 17:34:01 +03:00
exists.go [#238] metabase: Support raw flag in Get method 2020-12-11 17:19:37 +03:00
exists_test.go [#237] metabase: Structure parameters and results of all operations 2020-12-11 17:19:37 +03:00
get.go [#238] metabase: Support raw flag in Get method 2020-12-11 17:19:37 +03:00
get_test.go [#438] metabase: Write unit tests for checking the absence of payloads 2021-03-22 21:40:27 +03:00
graveyard.go [#378] metabase: Add the ability to break the loop in IterateOverGraveyard 2021-02-19 11:56:32 +03:00
graveyard_test.go [#378] metabase: Implement iterator over metabase graveyard 2021-02-19 11:56:32 +03:00
info.go Remove outdated code of metabase and localstore 2020-12-11 17:19:37 +03:00
inhume.go [#395] metabase: Do not add tombstone-on-tombstone records to graveyard 2021-02-19 16:19:26 +03:00
inhume_test.go [#395] metabase: Do not add tombstone-on-tombstone records to graveyard 2021-02-19 16:19:26 +03:00
iterators.go [#378] metabase: Calculate expiration once for each fake bucket 2021-02-19 11:56:32 +03:00
iterators_test.go [#378] metabase: Implement iterator over the objects under tombstones 2021-02-19 11:56:32 +03:00
movable.go [#378] shard/gc: Reuse addressFromKey func in all appropriate places 2021-02-19 11:56:32 +03:00
movable_test.go [#237] metabase: Structure parameters and results of all operations 2020-12-11 17:19:37 +03:00
put.go [#438] metabase: Fix saving of object payload in Put 2021-03-22 21:40:27 +03:00
put_test.go [#237] metabase: Structure parameters and results of all operations 2020-12-11 17:19:37 +03:00
select.go [#378] shard/gc: Reuse addressFromKey func in all appropriate places 2021-02-19 11:56:32 +03:00
select_test.go [#361] metabase: Support new match types 2021-02-03 10:32: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 [#378] metabase: Implement iterator over expired objects 2021-02-19 11:56:32 +03:00