UtrechtUniversity / yoda

A system for reliable, long-term storing and archiving large amounts of research data during all stages of a study.
https://utrechtuniversity.github.io/yoda/
GNU General Public License v3.0
44 stars 26 forks source link

YDA-5882 fix ordering Yoda DB indexes #459

Closed stsnel closed 1 month ago

stsnel commented 1 month ago

Deploying a new environment with Yoda-specific database indexes enabled failed, because the playbook tried to create the indexes before iRODS created the tables that were to be indexed.

This fix moves the code for enabling or disabling the Yoda-specific indexes to a separate role that is always run after both the database and the provider have been deployed, so that this doesn't happen anymore.