storj/satellite/accounting
Jeff Wendling 85a74b47e7 satellite/orders: 3-phase rollout
This adds a config flag orders.window-endpoint-rollout-phase
that can take on the values phase1, phase2 or phase3.

In phase1, the current orders endpoint continues to work as
usual, and the windowed orders endpoint uses the same backend
as the current one (but also does a bit extra).

In phase2, the current orders endpoint is disabled and the
windowed orders endpoint continues to use the same backend.

In phase3, the current orders endpoint is still disabled and
the windowed orders endpoint uses the new backend that requires
much less database traffic and state.

The intention is to deploy in phase1, roll out code to nodes
to have them use the windowed endpoint, switch to phase2, wait
a couple days for all existing orders to expire, then switch
to phase3.

Additionally, it fixes a bug where a node could submit a bunch
of orders and rack up charges for a bucket.

Change-Id: Ifdc10e09ae1645159cbec7ace687dcb2d594c76d
2020-08-03 17:01:42 +00:00
..
live satellite/accounting: bugfix infinit storage usage increase (#3916) 2020-07-03 12:34:13 -06:00
projectbwcleanup satellite/accounting: Add chore to cleanup old project bandwidth rollups data 2020-07-22 18:56:49 +00:00
reportedrollup satellite/orders: 3-phase rollout 2020-08-03 17:01:42 +00:00
rollup satellite: fix scoping, formatting 2020-07-16 19:13:14 +03:00
tally all: fix dots 2020-07-16 14:58:28 +00:00
billing_test.go private/testplanet: remove old libuplink from testplanet 2020-05-28 13:50:23 +00:00
bucketstats.go all: fix dots 2020-07-16 14:58:28 +00:00
bucketusage.go all: fix dots 2020-07-16 14:58:28 +00:00
common.go all: fix dots 2020-07-16 14:58:28 +00:00
db_test.go satellite/accounting: separate usage and bandwidth limit (#3878) 2020-05-12 15:01:15 +02:00
db.go satellite/accounting: Add chore to cleanup old project bandwidth rollups data 2020-07-22 18:56:49 +00:00
projectusage_test.go satellite: prevents uplink from creating a bucket once it exceeds the max bucket allocation. 2020-07-15 17:27:05 +00:00
projectusage.go satellite/accounting: add download limit cache 2020-06-12 16:33:46 -03:00