[Tile-serving] [openstreetmap/osm2pgsql] Add a post-processing option for the update script (#1423)
Tom Hughes
notifications at github.com
Tue Feb 23 18:34:18 UTC 2021
So you're saying that if I named the file with `--diff-file` then it would still exist when the post-processing script ran and would then get overwritten when the script returned and the next pass started?
Would that be an in place overwrite? or an unlink and create new? What about if there's no more work to do and it exits, will the file get overwritten next time it runs?
Basically what we do at the moment is to hard link the files into queue directory where they are picked up by the dirtier so I'm just wondering if it will be safe for the postprocessor to do that or if the files might get overwritten before they are processed.
It also occurs to me that the other thing we use the files for at the moment is to track the last update time for munin/prometheus monitoring - not sure what the best replacement for that would be?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1423#issuecomment-784419512
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210223/0244525f/attachment.htm>
More information about the Tile-serving
mailing list