storj/satellite/metainfo
Michal Niewrzal 16b7901fde satellite/metabase: add piece size calculation to segment
This code is essentially replacement for eestream.CalcPieceSize. To call
eestream.CalcPieceSize we need eestream.RedundancyStrategy which is not
trivial to get as it requires infectious.FEC. For example infectious.FEC
creation is visible on GE loop observer CPU profile because we were
doing this for each segment in DB.

New method was added to storj.Redundancy and here we are just wiring it
with metabase Segment.

BenchmarkSegmentPieceSize
BenchmarkSegmentPieceSize/eestream.CalcPieceSize
BenchmarkSegmentPieceSize/eestream.CalcPieceSize-8         	    5822	    189189 ns/op	    9776 B/op	       8 allocs/op
BenchmarkSegmentPieceSize/segment.PieceSize
BenchmarkSegmentPieceSize/segment.PieceSize-8              	94721329	        11.49 ns/op	       0 B/op	       0 allocs/op

Change-Id: I5a8b4237aedd1424c54ed0af448061a236b00295
2023-02-22 11:04:02 +00:00
..
expireddeletion satellite/gc/sender: new service to send retain filters 2022-09-20 11:49:40 +00:00
piecedeletion satellite/{metabase/rangedloop,metainfo/piecedeletion}: fix flaky tests 2023-02-09 16:07:00 +02:00
pointerverification satellite/metabase: add piece size calculation to segment 2023-02-22 11:04:02 +00:00
attribution_test.go satellite: remove rewards package 2023-01-31 11:46:50 +00:00
attribution.go satellite: remove rewards package 2023-01-31 11:46: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: enable multiple versions fix by default 2023-01-26 09:35:20 +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 go.mod: bump storj.io/uplink 2023-02-21 16:09:19 +00:00
endpoint_object.go satellite/metainfo: fix duplicates while listing pending objects 2023-02-15 16:52:53 +00:00
endpoint_segment_test.go satellite/metainfo: RetryBeginSegmentPieces RPC implementation 2023-01-27 15:04:59 +00:00
endpoint_segment.go satellite/metabase: add piece size calculation to segment 2023-02-22 11:04:02 +00:00
endpoint_test.go satellite/metainfo: add missing metadata validation 2022-08-23 16:56:45 +02:00
endpoint.go satellite/metainfo: ListUploads returns incorrect UploadID 2023-02-09 10:33:08 +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: remove rewards package 2023-01-31 11:46:50 +00: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