Page MenuHomePhabricator

Schedule tile regeneration after OSM DB update
Closed, ResolvedPublic

Description

The OSM DB update script should add all areas affected by the update to the tilerator job que.

Example Post request:

http://localhost:6535/add
 ?expdirpath=/srv/osm_expire/             -- expiration files dir
 &expmask=expire.*                        -- regex to match expiration files
 &statefile=/home/yurik/osm_expire.state  -- tilerator uses this file to record last imported data file
 &fromZoom=10                             -- new jobs will be created from this zoom
 &beforeZoom=16                           -- and until (but not including) this zoom
 &generatorId=gen                         -- copy tiles from ("gen" will only produce non-empty tiles)
 &storageId=v3                            -- copy tiles to
 &deleteEmpty=1                           -- if tile is empty, make sure we don't store it, if it was there before

Event Timeline

Yurik raised the priority of this task from to High.
Yurik updated the task description. (Show Details)
Yurik added subscribers: Yurik, MaxSem.

Example of expiry list: text file with

16/108/13665
16/109/13665
16/108/13666
16/110/13665
16/111/13665
16/112/13665
16/113/13665
16/114/13664
16/114/13665
16/115/13664
16/115/13665
16/116/13664
16/116/13665
16/117/13664
16/117/13665
16/118/13664
16/119/13664
16/120/13664
16/121/13664
16/122/13664
16/123/13664
16/124/13664
MaxSem moved this task from Backlog to In progress on the Maps-Sprint board.

Change 295450 had a related patch set uploaded (by Yurik):
(WIP) Notify TileratorUI on new expiry files

https://gerrit.wikimedia.org/r/295450

Change 295450 merged by Gehel:
Notify TileratorUI on new expiry files

https://gerrit.wikimedia.org/r/295450

done, works, thanks everyone!