[Tile-serving] [openstreetmap/osm2pgsql] Would like to have some kind of lock during update (#1446)

Andrey Novikov notifications at github.com
Mon Apr 5 21:43:13 UTC 2021


I have a background process that is permanently generating custom maps from osm database. As I understand update process is not safe in terms of data consistency (I didn't find the use of transactions in source code). So when database is updated I will get incomplete data. I'm using daily change sets and it may cause significant issues. That's why it would be nice to have some means of checking if update is in place. I could search through process list but a file lock or a special flag in database would be better.

-- 
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/issues/1446
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210405/1aaefd6c/attachment.htm>


More information about the Tile-serving mailing list