storj/satellite/metainfo
Michal Niewrzal 0a3ee6ff8a satellite/metabase: remove old object segments on overwrite
While adding support for pending_objects table one case was missed.
When we are uploading object to location where old objects exists
we are not removing old object segments at all. Old object is
overwritten with new object metadata but segments remains without
corresponding object. This fix removes all existing committed objects
(with it's segments) before committing new object.

https://github.com/storj/storj/issues/6255

Change-Id: Id657840edf763fd6aec8191788d819191b074fb7
2023-09-11 14:16:47 +00:00
..
expireddeletion satellite/{metainfo,metabase}: optimize expired/zombie objects deletion 2023-06-09 11:22:46 +00:00
pointerverification satellite/metabase: add piece size calculation to segment 2023-02-22 11:04:02 +00:00
attribution_test.go satellite/metainfo: set user_agent in bucket_metainfos on bucket recreation 2023-07-12 21:48:05 +00:00
attribution.go satellite/metainfo: set user_agent in bucket_metainfos on bucket recreation 2023-07-12 21:48:05 +00:00
batch_test.go satellite/metainfo: add missing metadata validation 2022-08-23 16:56:45 +02:00
batch.go satellite: implement metainfo.GetBucketLocation endpoint 2023-08-28 13:48:07 +02:00
config_test.go satellite/metainfo: enable UsePendingObjectsTable by project 2023-08-30 15:44:29 +02:00
config.go satellite/metainfo: enable UsePendingObjectsTable by project 2023-08-30 15:44:29 +02:00
endpoint_bucket_test.go satellite/metainfo: tests for new GetBucketLocation method 2023-08-28 11:49:23 +00:00
endpoint_bucket.go satellite: implement metainfo.GetBucketLocation endpoint 2023-08-28 13:48:07 +02:00
endpoint_internal_test.go satellite/metainfo: hardcode the prefix 2023-05-04 17:06:51 +03:00
endpoint_object_test.go satellite/metabase: remove old object segments on overwrite 2023-09-11 14:16:47 +00:00
endpoint_object.go satellite/metainfo: respect MaxObjectTTL in BeginObject 2023-09-08 09:30:48 +00:00
endpoint_segment_test.go satellite/orders: filter nodes based on segment placement 2023-06-05 13:56:22 -04:00
endpoint_segment.go satellite/metabase: adjust segment commit to use pending_objects table 2023-08-02 16:56:25 +00:00
endpoint_test.go satellite/metainfo: tests for new GetBucketLocation method 2023-08-28 11:49:23 +00:00
endpoint.go satellite/metainfo: better metabase errors handling 2023-09-01 11:32:10 +00:00
signing.go satellite/metainfo: use deterministic signing for satStreamID 2021-01-19 15:56:29 +00:00
validation_test.go satellite: use evenkit instead of evenstat/top endpoint 2022-10-24 11:45:12 +02:00
validation.go satellite/metainfo: do full bucket validation only on create 2023-07-17 16:15:33 +02:00
version_collector_test.go all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
version_collector.go satellite/metainfo: add storj-downloader as a known user agent 2022-11-17 16:03:54 +00:00