As it's the first time we will use the aliases functionality to avoid a downtime on the search during the reindexation, it deserves a task for the record
For the first time it will be done manually in staging.
Actions:
- stop puppet
- update the packages
- create new journal-client configurations with these properties:
- index origin.v0.9.0
- read alias: origin_v0.9.0-read
- write alias: origin v0.9.0-write
- manually start the indexers
- when the backfill is done, update the swh-search configuration to use the new index and aliases, the webapp will use the new index
It will allow to easily make a rollback if anything goes wrong as nothing is destructive
- if it's ok
- Update puppet to use this new configuration
- clean the old index/read aliases
Finally after writing this, I realize the aliases are not useful with this scenario ¯\_(ツ)_/¯