storj/satellite/satellitedb/testdata
Moby von Briesen 4e5a7f13c7 satellite/repair/queue: Prioritize selection of items off repair queue by segment health
Add a column to the repair queue table in the satellite db for healthy
piece count. When an item is selected from the repair queue, the least
durable segment that has not been attempted in the past hour should be
selected first. This prevents our repairer from getting stuck doing work
on segments that are close to the repair threshold while allowing
segments that are more unhealthy to degrade further.

The migration also clears the repair queue so that the migration runs
quickly and we can properly account for segment health in future repair
work.

We do not select items off the repair queue that have been attempted in
the past six hours. This was changed from on hour to allow us time to
try a wider variety of segments when the repair queue is very large.

Change-Id: Iaf183f1e5fd45cd792a52e3563a3e43a2b9f410b
2020-02-26 09:54:16 -05:00
..
postgres.v69.sql satellite/satellitedb: ensure migration tests run (#3706) 2019-12-09 09:26:58 -06:00
postgres.v70.sql satellite/accounting: fix project limits migration (#3717) 2019-12-10 18:12:49 +02:00
postgres.v71.sql satellite/accounting: fix project limits migration (#3717) 2019-12-10 18:12:49 +02:00
postgres.v72.sql satellitedb: fix migration cockroach test 2019-12-16 18:02:31 +00:00
postgres.v73.sql satellite/satellitedb: Add nodes_offline_times table for downtime tracking 2019-12-30 15:45:02 -05:00
postgres.v74.sql satellite/payments: coupons, coupons usage, invoice generation with pricing model applied 2020-01-14 12:45:00 +00:00
postgres.v75.sql satellite/payments: coupons, coupons usage, invoice generation with pricing model applied 2020-01-14 12:45:00 +00:00
postgres.v76.sql satellite/payments: coupons, coupons usage, invoice generation with pricing model applied 2020-01-14 12:45:00 +00:00
postgres.v77.sql satellite/satellitedb: fix nitpicks and timestamp issue found in review 2020-01-16 21:22:38 +00:00
postgres.v78.sql satellite/satellitedb: Remove unused indexes 2020-01-16 16:06:21 -07:00
postgres.v79.sql satellite/payments: coinpayments add completed status, treat received status as pending, add balance for completed transactions only 2020-01-17 17:26:34 +00:00
postgres.v80.sql satellite/metainfo: Rate limiting - API requests 2020-01-21 14:25:04 +00:00
postgres.v81.sql satellite/payments : deposit bonuses (credits) added 2020-02-11 11:11:42 +00:00
postgres.v82.sql satellite/satellitedb: use queue for orders to get back fast billing 2020-02-24 17:07:07 +00:00
postgres.v83.sql satellite/repair/queue: Prioritize selection of items off repair queue by segment health 2020-02-26 09:54:16 -05:00