storj/satellite/metainfo
Michal Niewrzal fa76dfe577 satellite/metabase: use GetObjectLastCommitted with move/copy
We are preparing to use object versions internally and to do
that we need to prepare different parts of the system to handle
object versions different than '1'. This change adjust code
responsible for server-side move and copy.

What was done:
* begin methods for move and copy are now using GetObjectLastCommitted
to find object
* results from begin move and copy operation contains now version to
be able to map object correctly with finish operation
* begin methods are putting version into satellite stream id and
finish methods are using this version as parameter instead hardcoded
value

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

Change-Id: I1380911279c21e10a3fff0342793efd2e73eafad
2022-08-30 06:36:02 +00:00
..
expireddeletion satellite/metabase: copy expires_at to segments while FinishCopyObject 2022-04-27 18:39:54 +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, satellite/accounting}: remove ValidateSegmentLimit config value and check 2022-07-27 15:36:53 +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: add missing metadata validation 2022-08-23 16:56:45 +02:00
endpoint_object.go satellite/metabase: use GetObjectLastCommitted with move/copy 2022-08-30 06:36: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: in-memory 'top'-like counter for project/partner 2022-08-11 10:21:54 +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