Page MenuHomePhabricator

Make OSM master switchable without reimports
Open, LowestPublic

Description

Currently, if OSM master crashes and we either replace it or switch one of slaves in its place, OSM data has to be reimported to make replication work. To make things easier, the following files need to be backed up/replicated to other servers:

  • nodes.bin - flat nodes file
  • state.txt - replication state
  • osm_expire/* - expired nodes list, in case some changes weren't fed to Tilerator yet
  • Some future Tilerator's osm_expire ingestion state (TBD).

What are our options, rsync?

Event Timeline

MaxSem created this task.Jun 9 2016, 12:52 AM
Restricted Application added a project: Discovery. · View Herald TranscriptJun 9 2016, 12:52 AM
Restricted Application added subscribers: Zppix, Aklapper. · View Herald Transcript
MaxSem updated the task description. (Show Details)Jun 9 2016, 12:53 AM
Yurik moved this task from All map-related tasks to Tilerator on the Maps board.Jun 12 2016, 3:01 AM
Yurik moved this task from Tilerator to Maps-data on the Maps board.Jun 26 2016, 8:14 PM
Yurik removed a project: Maps.Dec 15 2016, 4:23 AM
Mholloway triaged this task as Lowest priority.Jul 31 2018, 4:31 PM
Mholloway added a subscriber: Mholloway.

Nice to have but unlikely to happen in the near future.