storj/satellite/accounting
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
..
live satellite/accounting: Fix and enhance code doc comments 2020-11-04 09:50:48 +00:00
projectbwcleanup satellite/accounting: fix build - time rounding 2020-08-31 09:37:13 -04:00
reportedrollup satellite/orders: add storagenode_bw_phase2 table and dont delete tallies for longer 2020-11-13 17:15:24 +00:00
rollup satellite/accounting: account for old orders that can be submitted in satellite rollup 2020-11-18 14:46:00 -05:00
tally satellite/metainfo: Update metainfo RS config to more easily support multiple RS schemes. 2020-11-09 22:16:13 +00:00
billing_test.go satellite/orders: rollout phase3 of SettlementWithWindow endpoint 2020-10-26 14:56:28 +00:00
bucketstats.go satellite/metainfo: use metabase in loop 2020-09-01 10:06:16 +00:00
bucketusage.go all: fix dots 2020-07-16 14:58:28 +00:00
common.go all: add missing dots 2020-08-11 17:50:01 +03:00
db_test.go satellite/accounting: account for old orders that can be submitted in satellite rollup 2020-11-18 14:46:00 -05:00
db.go satellite/accounting: add cache for getting project storage and bw limits 2020-09-25 16:28:49 +00:00
projectlimitcache_test.go satellite/satellitedb: make limits per default NULL 2020-10-14 20:28:16 +00:00
projectlimitcache.go satellite/accounting: add cache for getting project storage and bw limits 2020-09-25 16:28:49 +00:00
projectusage_test.go satellite/console: get all bucket names endpoint and service method 2020-11-16 17:51:40 +02:00
projectusage.go satellite/accounting: add cache for getting project storage and bw limits 2020-09-25 16:28:49 +00:00