storj/satellite/metainfo
Michał Niewrzał 4da3dc8170 satellite/metabase: improve processing of key/nonce while finish copy/move
So far we assumes that metadata key/nonce cannot be empty at all
but at some point we adjusted code to accept empty metadata/key/nonce
to save DB space.

This change is adjusting how we are processing nonce while
FinishMoveObject/FinishCopyObject. We can use storj.Nonce directly
which makes code cleaner. It's also fixing issue in FinishMoveObject
where we didn't convert nonce correctly to []byte.

Part of change is disabling validation for key and nonce until
uplink will be adjusted. We need change uplink to send always
both key and nonce or non of them. Validation will be restored
as soon as change for uplink will be merged.

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

Change-Id: Ia1772bc430ae591f54c6a9ae0308a4968aa30bed
2022-03-28 14:34:21 +00:00
..
expireddeletion private/testplanet: move Metabase outside Metainfo for satellite 2021-09-09 07:15:51 +00:00
piecedeletion satellite/metainfo: adjust piecedeletion timeouts 2021-10-28 13:37:01 +03:00
pointerverification satellite/metainfo: reenable piece hash verification 2021-04-12 15:12:42 -06:00
attribution_test.go satellite/metainfo: store empty useragent in bucket attribution instead of throwing error 2021-12-07 18:06:27 +00:00
attribution.go satellite/metainfo: remove Gateway-ST library name from UserAgent string 2021-12-13 18:07:55 +00:00
batch_test.go satellite/metainfo: use metabase package instead storj 2022-03-23 15:47:54 +00: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: add feature flag for server side copy code 2022-02-24 10:43:49 +00:00
endpoint_bucket_test.go satellite/metainfo: use single testplanet instance in tests 2022-02-16 15:27:26 +00:00
endpoint_bucket.go satellite/metainfo: split metainfo endpoint into smaller files (buckets) 2022-01-24 13:47:51 +00:00
endpoint_object_test.go satellite/metainfo: BeginCopyObject and FinishCopyObject 2022-02-24 14:38:04 +01:00
endpoint_object.go satellite/metabase: improve processing of key/nonce while finish copy/move 2022-03-28 14:34:21 +00:00
endpoint_segment_test.go satellite/metabase: drop DeleteObjectLatestVersion method 2022-02-02 14:33:48 +00:00
endpoint_segment.go satellite/metainfo: split endpoint into smaller files (object/segment) 2022-01-25 16:14:37 +00:00
endpoint_test.go satellite/metainfo: use single testplanet instance in tests 2022-02-16 15:27:26 +00:00
endpoint.go satellite/metabase: better error message while move 2022-02-02 15:03:24 +00:00
signing.go satellite/metainfo: use deterministic signing for satStreamID 2021-01-19 15:56:29 +00:00
validation_test.go satellite/metainfo: make subsequent auth validations not perform rate-limiting 2021-09-10 12:07:06 +00:00
validation.go satellite/metainfo: сombine checks for storage and segment limit 2022-01-19 10:44:04 +00:00
version_collector.go satellite/metainfo: register php user agent 2022-03-23 18:37:05 +00:00