storj/satellite/orders
Stefan Benten 70d42ead1c
satellite/orders/endpoint.go: order rollups by bucket name first
Currently the primary key of the underlying rollup table has the
primary key being the bucket name, but we used to sort by projectID.
This caused dead locks due to the contention during updates/inserts.

We should reevalute if bucket name being the primary key is the right
way for this table, this should stop the long running and failing attempts tho.

Change-Id: Ie7d0f86944da48ad9cbd92eb162226882a2fb954
2022-11-16 19:48:43 +01:00
..
encryptionkey_test.go satellite/orders: add factory function to encryption key 2020-11-20 11:40:15 -08:00
encryptionkey.go satellite/orders: use smaller encrypted metadata 2021-01-08 16:40:31 +00:00
endpoint_test.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
endpoint.go satellite/orders/endpoint.go: order rollups by bucket name first 2022-11-16 19:48:43 +01:00
orders_test.go satellites/orders: populate egress_dead in project_bandwidth_daily_rollups 2021-10-06 16:54:49 +00:00
rollups_chore.go satellite/orders: Flush all pending bandwidth rollup writes on shutdown 2020-01-23 08:12:41 -07:00
rollups_write_cache_test.go satellite/orders/endpoint.go: order rollups by bucket name first 2022-11-16 19:48:43 +01:00
rollups_write_cache.go satellite/{accounting,orders,satellitedb}: group bucket bandwidth rollups by time window 2022-01-05 20:24:48 +00:00
service_test.go satellite/metainfo: simplifying limits code 2021-09-28 06:22:13 +00:00
service.go satellite/audit: new ReverifyPiece implementation 2022-10-27 16:06:21 +00:00
signer_test.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
signer.go satellite: use PieceIDDeriver for derivation 2022-05-19 06:31:42 +00:00
window_endpoint_phase.go satellite/orders: 3-phase rollout 2020-08-03 17:01:42 +00:00