[Tile-serving] [osm2pgsql-dev/osm2pgsql] Replication: guess date from file when state info is not available (PR #2213)

Sarah Hoffmann notifications at github.com
Fri Jul 12 20:11:51 UTC 2024


If a replication server becomes unavailable at an inconvenient time, it can happen that the replication script has retrieved a diff but cannot get the attached state file in order to determine the date of the data. Guess a date from the date in the diff file in such case. If that doesn't work either, simply leave the date in the status at whatever it was before.

Fixes #2195.
You can view, comment on, or merge this pull request online at:

  https://github.com/osm2pgsql-dev/osm2pgsql/pull/2213

-- Commit Summary --

  * replication: guess state from file when state info is not available

-- File Changes --

    M scripts/osm2pgsql-replication (20)

-- Patch Links --

https://github.com/osm2pgsql-dev/osm2pgsql/pull/2213.patch
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2213.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2213
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/pull/2213 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240712/4cc44194/attachment.htm>


More information about the Tile-serving mailing list