storj/satellite/orders
Moby von Briesen a8b66dce17 satellite/accounting: account for old orders that can be submitted in satellite rollup
With the new phase 3 order submission, orders can be added to the
storage and bandwidth rollup tables at timestamps before the most recent
rollup was run. This change shifts the start time of each new rollup
window to account for any unexpired orders that might have been added
since the previous rollup.

A satellitedb migration is necessary to allow upserts in the
accounting_rollups table when entries with identical node_ids and
start_times are inserted.

Change-Id: Ib3022081f4d6be60cfec8430b45867ad3c01da63
2020-11-18 14:46:00 -05:00
..
encryptionkey_test.go satellite/orders: add EncryptionKey encryption 2020-07-13 16:10:19 +00:00
encryptionkey.go satellite/orders: add bucket id to order limit 2020-09-03 10:50:11 +03:00
endpoint_test.go all: fix defers in loop 2020-11-02 15:06:38 +02:00
endpoint.go satellite/accounting: account for old orders that can be submitted in satellite rollup 2020-11-18 14:46:00 -05:00
orders_test.go {satellite,storagenode}/orders: fix flaky tests 2020-11-18 13:44:02 +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: add settled amount to rollups write cache 2020-07-07 14:46:06 +00:00
rollups_write_cache.go all: fix dots 2020-07-16 14:58:28 +00:00
serials_test.go satellite: remove some unnecessary UTC() calls 2020-03-13 13:49:44 +00:00
service.go satellite/orders: send IPs for graceful exit 2020-11-04 00:17:20 +00:00
signer_test.go satellite/orders: add bucket id to order limit 2020-09-03 10:50:11 +03:00
signer.go satellite/orders: add bucket id to order limit 2020-09-03 10:50:11 +03:00
window_endpoint_phase.go satellite/orders: 3-phase rollout 2020-08-03 17:01:42 +00:00