Deploy the journal scrubbers in staging
-
Prepare the charts -
Define the way to "properly" initialize the configs -
Deploy and monitor in staging
Possible migration plan:
- Stop the static scrubbers
- Rename the current scrubber database to something else
ALTER DATABASE swh-scrubber RENAME TO swh-scrubber-backup-202311
- Launch puppet to recreate an empty database
- Configure the charts to deploy the scrubbers
- Connect to the toolbox
- Recreate the database
export SWH_CONFIG_FILENAME=/etc/swh/config-scrubber.yml
swh db init scrubber
- Register the journal clients
- For each object type:
for type in directory snapshot release revision
do
swh scrubber check init journal --object-type=$type --name journal-checker-$type
done
Edited by Vincent Sellier