storj/satellite/satellitedb/dbx
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
..
templates satellite/satellitedb/dbx: monitor the database calls 2019-12-18 21:57:36 +00:00
gen.go all: add missing dots 2020-08-11 17:50:01 +03:00
gen.sh all: use jackc/pgx in place of lib/pq 2020-07-13 15:54:41 +00:00
satellitedb.dbx satellite/accounting: account for old orders that can be submitted in satellite rollup 2020-11-18 14:46:00 -05:00
satellitedb.dbx.go satellite/accounting: account for old orders that can be submitted in satellite rollup 2020-11-18 14:46:00 -05:00
satellitedb.dbx.pgx.sql satellite/accounting: account for old orders that can be submitted in satellite rollup 2020-11-18 14:46:00 -05:00
satellitedb.dbx.pgxcockroach.sql satellite/accounting: account for old orders that can be submitted in satellite rollup 2020-11-18 14:46:00 -05:00