frostfs-node/pkg/local_object_storage
Leonard Lyubich 3ed0065455 [#395] metabase: Do not add tombstone-on-tombstone records to graveyard
Creating tombstones for tombstones is prohibited in NeoFS system. Metabase
graveyard contains records of the form {address: address}: key is an address
of inhumed object, value is an address of the tombstone. To prevent creation
tombstones for tombstones metabase must control incoming Inhume calls:

 * if Inhume target is a tombstone, then "grave" should not be added;
 * if {a1:a2} "grave" was created earlier and {a2: a3} "grave" came later,
   then first "grave" must be removed as tomb-on-tomb.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-02-19 16:19:26 +03:00
..
blobovnicza [#334] engine: Make tests more predictable 2021-01-21 11:00:23 +03:00
blobstor [#334] engine: Make tests more predictable 2021-01-21 11:00:23 +03:00
engine [#378] shard: Collect expired tombstones in GC every epoch 2021-02-19 11:56:32 +03:00
metabase [#395] metabase: Do not add tombstone-on-tombstone records to graveyard 2021-02-19 16:19:26 +03:00
shard [#378] shard/gc: Limit the accumulated batch of objects to be deleted 2021-02-19 11:56:32 +03:00