storj/satellite/metainfo
Michal Niewrzal 4d9c9138ce satellite/metainfo: use multiple object versions internally
With this change we are switching methods to begin object, from
BeginObjectExactVersion to BeginObjectNextVersion. Main implication
is that from now it will be possible to have object with version
different than 1. New object will always get first available version.

Main reason to do this it to avoid deleting existing object during
reuploading object. Now we can create multiple pending objects but
only last committed will be available to the user. Any previous
committed object will be deleted.Because of that we moved logic to
delete existing object from BeginObject to CommitoObject request.

New logic is behind feature flat to be able to test it well first
before enablng on production.

Fixes https://github.com/storj/storj/issues/4871

Change-Id: I2dd9c7364fd93796a05ef607bda9c39a741e6a89
2022-10-06 15:19:02 +00:00
..
expireddeletion satellite/gc/sender: new service to send retain filters 2022-09-20 11:49:40 +00:00
piecedeletion satellite/metainfo/piecedeletion: use nodes cache 2022-07-21 00:43:24 +00:00
pointerverification satellite/metainfo: reenable piece hash verification 2021-04-12 15:12:42 -06:00
attribution_test.go satellite/console: integrate sessions into satellite UI 2022-06-13 08:02:02 +00:00
attribution.go satellite/metainfo: Use project-level attribution at bucket level 2022-06-07 17:08:50 +00:00
batch_test.go satellite/metainfo: add missing metadata validation 2022-08-23 16:56:45 +02:00
batch.go satellite/metainfo: endpoint cleanup 2021-08-26 09:52:38 +00:00
config_test.go Merge 'master' branch 2020-11-10 11:58:59 +00:00
config.go satellite/metainfo: temporary feature flag for listing query testing 2022-09-28 17:46:52 +00:00
endpoint_bucket_test.go satellite/metainfo: ListBuckets extended with value attribution assigned to bucket 2022-07-18 18:23:50 +00:00
endpoint_bucket.go satellite/metainfo: ListBuckets extended with value attribution assigned to bucket 2022-07-18 18:23:50 +00:00
endpoint_object_test.go satellite/metainfo: use multiple object versions internally 2022-10-06 15:19:02 +00:00
endpoint_object.go satellite/metainfo: use multiple object versions internally 2022-10-06 15:19:02 +00:00
endpoint_segment_test.go satellite/metainfo: add missing metadata validation 2022-08-23 16:56:45 +02:00
endpoint_segment.go satellite/metainfo: align satellite StreamID protobuf version with metabase 2022-08-24 10:17:34 +00:00
endpoint_test.go satellite/metainfo: add missing metadata validation 2022-08-23 16:56:45 +02:00
endpoint.go satellite/metainfo: use multiple object versions internally 2022-10-06 15:19:02 +00:00
signing.go satellite/metainfo: use deterministic signing for satStreamID 2021-01-19 15:56:29 +00:00
validation_test.go satellite: in-memory 'top'-like counter for project/partner 2022-08-11 10:21:54 +00:00
validation.go satellite/metainfo: add missing metadata validation 2022-08-23 16:56:45 +02:00
version_collector_test.go satellite/metainfo: skip TestUserAgentTransferStats 2022-05-25 11:15:23 +00:00
version_collector.go satellite/metainfo: add IPFS datastore user agent to metrics 2022-05-17 13:09:22 +02:00