-
- Downloads
Extract part of the checked_partition table in a new check_config one
This new table stores the "configuration" for a scrubber. A configuration consists in a set of: (datastore, object_type, nb_partitions) This comes with a migration script; WARNING: this script needs to be checked before deployment on a productiion-sized big database. Any activity on the database should be stopped before execution. This is the first step of a series to make the scrubber easier to deploy on elastic infrastructure.
Showing
- swh/scrubber/db.py 52 additions, 16 deletionsswh/scrubber/db.py
- swh/scrubber/sql/30-schema.sql 23 additions, 7 deletionsswh/scrubber/sql/30-schema.sql
- swh/scrubber/sql/60-indexes.sql 17 additions, 10 deletionsswh/scrubber/sql/60-indexes.sql
- swh/scrubber/sql/upgrades/6.sql 53 additions, 0 deletionsswh/scrubber/sql/upgrades/6.sql
Loading
Please register or sign in to comment