Deploy swh-scrubber 1.0.1
Completely overhauls the storage schema and command line arguments to support cassandra in addition to postgresql.
Staging & Prod:
- check that the package of the newest version is available
- disable puppet on all scrubbers
- update puppet manifests for new cli arguments: swh/infra/puppet/puppet-swh-site!611 (closed)
Staging:
- stop all workers
-
apply swh/scrubber/sql/upgrades/5.sql > swh/devel/swh-scrubber@4400f3e9 (
sudo -u swhworker SWH_CONFIG_FILENAME=/etc/softwareheritage/scrubber/storage_primary.yml swh db upgrade --module-config-key scrubber_db scrubber
) - upgrade package
- enable & noop apply puppet
- start one worker
- check sql DB
- restart all workers (without debug logs)
Production:
- stop all workers
- apply swh/scrubber/sql/upgrades/5.sql
- upgrade package
- enable & apply puppet
- restart all workers
(cc. @vlorentz)