storj/satellite/orders
Michal Niewrzal 252c437b0e satellite/orders: ignore context canceled when updating bucket bandwidth
Orders from storage nodes are received by SettlementWithWindowFinal method. There is a stream which receives all orders and after getting
all orders we are inserting into DB storagenode and bucket bandwidth. Problem is with bucket bandwidth which is stored through cache which is often using context from SettlementWithWindowFinal stream to perform DB inserts and its doing this in separate goroutine. Because of that is possible that  SettlementWithWindowFinal is finished before flushing was finished and context is canceled while doing insert into DB

Change-Id: I3a72c86390e9aedc060f6b082bb059f1406231ee
2023-02-08 13:21:42 +00: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: ignore context canceled when updating bucket bandwidth 2023-02-08 13:21:42 +00: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: ignore context canceled when updating bucket bandwidth 2023-02-08 13:21:42 +00:00
rollups_write_cache.go satellite/orders: log bandwidth values we are dropping 2023-01-20 09:28:25 +00:00
service_test.go satellite/metainfo: simplifying limits code 2021-09-28 06:22:13 +00:00
service.go satellite/overlay: return noise info with selected nodes 2023-02-02 15:46:27 +00:00
signer_test.go satellite/overlay: return noise info with selected nodes 2023-02-02 15:46:27 +00:00
signer.go satellite/overlay: return noise info with selected nodes 2023-02-02 15:46:27 +00:00
window_endpoint_phase.go satellite/orders: 3-phase rollout 2020-08-03 17:01:42 +00:00