storj/satellite/gc
Michal Niewrzal 90eded4d99 satellite/gc/bloomfilter: take CreationDate from latest segment
Bloom filter CreationDate is used to avoid deleting pieces that
where not processed by GC. Every piece created after that timestamp
won't be deleted. Current GC process is taking CreationDate as a
beginning of bloom filter creation. This is appraoch allows to avoid
issues with inconsistent view on DB as currently we are using live DB
to create bloom filters.

With appraoch were we will be using DB snaphot with segment loop
we can get CreationDate from latest created segment in DB. Every piece
created after latest created segment won't be touched by GC on storage
node.

Updates https://github.com/storj/team-metainfo/issues/120

Change-Id: I6aaf64948ab7f60cfea62195689ad77c25ea772e
2022-09-15 11:59:53 +00:00
..
bloomfilter satellite/gc/bloomfilter: take CreationDate from latest segment 2022-09-15 11:59:53 +00:00
doc.go satellite/gc: move GC to segments loop 2021-06-01 20:36:02 +00:00
gc_test.go satellite/gc: improve test for copies 2022-04-11 11:06:01 +00:00
piecetracker.go satellite: fix segment loop observers metrics 2022-08-10 14:13:16 +00:00
service.go satellite/gc: remove skip first 2021-06-21 18:30:38 +00:00