As a fallout of T243609, we need to reset our Postgres DB to a sane state.
The process:
- 1) disable tilerator
- 2) depool maps1004
- 3) isolate maps1004 from the rest of the cluster [MrG]
- 4) delete postgres data, recreate the empty DB [MrG]
- 5) run script to reimport data from OSM, needs to run from root [MrG]
osm-initial-import \ -d 201019 \ latest dump -s https://planet.openstreetmap.org/replication/hour/000/071/112.state.txt \ hourly replication -x webproxy.eqiad.wmnet:8080
- 6) enable replication and check at least one cycle of OSM replication
- 7) repool maps1004
- 8) re-init all slaves (cookbook)
- 9) enable tilerator