9a29ec5b3e
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 |
||
---|---|---|
.. | ||
templates | ||
gen.go | ||
gen.sh | ||
satellitedb.dbx | ||
satellitedb.dbx.go | ||
satellitedb.dbx.pgx.sql | ||
satellitedb.dbx.pgxcockroach.sql |