[x] Review calls to createIndex or ensureIndex(es) in tripod-php
[x] Remove calls to createIndex or ensureIndex(es) from tripod-php
[x] the existing ensureIndexes script is already doing the work we want the new resque worker to do; don't delete the script because it could still prove useful
[x] add a new resque worker to create indexes based on a tripod config, this worker should also iterate over collections and make sure that the _id.r and _id.type fields are indexed correctly. ensureIndexes does not do this, but we have places in the code that explicitly do this on every write (see example above)
[x] the job should take the optional forceReindex parameter.
[x] fix/update tests
[ ] add basic UI to setup console to be able to queue this job for one / all customers
[ ] do we need consider how this affects the deployment / release process ?
Refer to talis/infra#563 for further details
What needs doing:
[x] Review calls to
createIndex
orensureIndex(es)
in tripod-php[x] Remove calls to
createIndex
orensureIndex(es)
from tripod-php[x] the existing ensureIndexes script is already doing the work we want the new resque worker to do; don't delete the script because it could still prove useful
[x] add a new resque worker to create indexes based on a tripod config, this worker should also iterate over collections and make sure that the _id.r and _id.type fields are indexed correctly. ensureIndexes does not do this, but we have places in the code that explicitly do this on every write (see example above)
[x] the job should take the optional
forceReindex
parameter.[x] fix/update tests
[ ] add basic UI to setup console to be able to queue this job for one / all customers
[ ] do we need consider how this affects the deployment / release process ?
[ ] update documentation