storj/satellite
Ethan 9a29ec5b3e Add index to graceful_exit_transfer_queue table
This fixes a slow query that was taking up to 4 seconds in production

SELECT node_id, path, piece_num, root_piece_id, durability_ratio, queued_at, requested_at, last_failed_at, last_failed_code, failed_count, finished_at, order_limit_send_count
	FROM graceful_exit_transfer_queue
	WHERE node_id = '[redacted]'
	AND finished_at is NULL
	AND last_failed_at is NULL
	ORDER BY durability_ratio asc, queued_at asc LIMIT 300 OFFSET 0;

Change-Id: Ib89743ca35f1d8d0a1456b20fa08c683ebdc1549
2020-10-26 14:47:48 +00:00
..
accounting satellite/satellitedb: make limits per default NULL 2020-10-14 20:28:16 +00:00
admin satellite/admin: add apikey endpoints 2020-10-20 11:26:56 +00:00
attribution all: fix dots 2020-07-16 14:58:28 +00:00
audit cmd/satellite: remove metainfo commands (#3955) 2020-10-22 13:33:09 +03:00
compensation all: add missing dots 2020-08-11 17:50:01 +03:00
console satellite/console/consoleweb/consoleapi: Fix & add test DeleteAccount 2020-10-23 09:14:50 +02:00
contact all: fix dots 2020-07-16 14:58:28 +00:00
dbcleanup satellite/dbcleanup: run cleanup more frequently 2020-06-10 18:32:15 +00:00
downtime all: fix comments 2020-07-16 19:13:14 +03:00
gc satellite/metainfo: replace ScopedPath with metabase.SegmentLocation 2020-09-04 10:06:52 +00:00
gracefulexit storagenode/gracefulexit: logic moved from worker to service 2020-10-22 23:19:30 +00:00
inspector satellite/metainfo: use metabase.SegmentKey with metainfo.Service 2020-09-03 15:11:32 +00:00
mailservice all: fix linter complaints 2020-10-13 15:59:01 +03:00
marketingweb all: fix linter complaints 2020-10-13 15:59:01 +03:00
metainfo cmd/satellite: remove metainfo commands (#3955) 2020-10-22 13:33:09 +03:00
metrics satellite/metainfo: replace ScopedPath with metabase.SegmentLocation 2020-09-04 10:06:52 +00:00
nodeapiversion satellite/nodeapiversion: new table for tracking node api usage 2020-07-09 15:02:25 +00:00
nodeselection all: add missing dots 2020-08-11 17:50:01 +03:00
nodestats storagenode/reputation: offline_under_review_at added 2020-09-02 18:48:28 +03:00
orders storagenodedb/orders: select unsent satellite with expiration 2020-10-21 15:02:23 +00:00
overlay satellite/overlay: uncomment dq for offline and disable with feature flag 2020-10-16 12:55:16 +00:00
payments satellite/satellitedb: make limits per default NULL 2020-10-14 20:28:16 +00:00
referrals all: fix dots 2020-07-16 14:58:28 +00:00
repair all: fix linter complaints 2020-10-13 15:59:01 +03:00
revocation all: fix dots 2020-07-16 14:58:28 +00:00
rewards satellite/rewards: add partner videocoin (#3946) 2020-09-29 14:30:46 +02:00
satellitedb Add index to graceful_exit_transfer_queue table 2020-10-26 14:47:48 +00:00
snopayout storagenode: heldamount renamed to payouts, renamed some methods and structs to more meaningful names. grouped estimated payout with pathouts 2020-09-16 14:57:35 +00:00
admin.go cmd/storj-sim: run gateway without --access flag 2020-10-13 14:45:04 +00:00
api.go cmd/storj-sim: run gateway without --access flag 2020-10-13 14:45:04 +00:00
configlock_test.go all: fix linter complaints 2020-10-13 15:59:01 +03:00
core.go cmd/storj-sim: run gateway without --access flag 2020-10-13 14:45:04 +00:00
gc.go all: fix dots 2020-07-16 14:58:28 +00:00
peer.go satellite/accounting: add cache for getting project storage and bw limits 2020-09-25 16:28:49 +00:00
repairer.go satellite/orders: add bucket id to order limit 2020-09-03 10:50:11 +03:00