storage: Add endpoint to randomly pick an origin
Now implement a mix use of CTE (with index) and random() to make query even faster ;)
Related to T2120
Test Plan
tox
Migrated from D2404 (view on Phabricator)
Staging instance, all changes can be removed at any time
Now implement a mix use of CTE (with index) and random() to make query even faster ;)
Related to T2120
tox
Migrated from D2404 (view on Phabricator)