storj/satellite/metainfo
Michał Niewrzał d72f9525d4 satellite/metainfo/piecedeletion: use nodes cache
Piece deletion service was using KnownReliable method from
overlaycache to get nodes addresses to send delete request.
KnownReliable was always hitting DB because this method was
not using cache. This change is using new DownloadSelectionCache
to avoid direct DB calls.

Change is not perfect because DownloadSelectionCache is not as
precise as KnownReliable method and can select few more nodes
to which we will send delete request but difference should be
small and we can improve it later.

Updates https://github.com/storj/storj/issues/4959

Change-Id: I4c3d91089a18ac35ebcb469a56536c33f76e44ea
2022-07-21 00:43:24 +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: 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 metabase: support disabling serverside copy when already enabled 2022-06-24 17:56:43 +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: parallel deletion tests 2022-05-26 11:00:42 +00:00
endpoint_object.go metabase: support disabling serverside copy when already enabled 2022-06-24 17:56:43 +00:00
endpoint_segment_test.go satellite/metabase: don't return expired objects 2022-07-04 21:32:30 +03:00
endpoint_segment.go satellite/metainfo: add user-agent bandwidth metric 2022-05-17 09:57:39 +00:00
endpoint_test.go satellite/metainfo: use metaclient type instead of storj 2022-07-08 14:17:19 +02:00
endpoint.go satellite/metabase: Classify pending object error 2022-05-10 10:54:17 +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: use PieceIDDeriver for derivation 2022-05-19 06:31:42 +00: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