osm2pgsql-dev / osm2pgsql

OpenStreetMap data to PostgreSQL converter
https://osm2pgsql.org
GNU General Public License v2.0
1.48k stars 473 forks source link

Replication: make sure that the computed start state is valid #2212

Closed lonvia closed 2 months ago

lonvia commented 2 months ago

Adds checks to make sure that the requested state file actually still exists on the replication server and that the date of the state file is earlier than the requested start date.

These checks are mainly useful for the Geofabrik extracts servers which keep diffs only for a couple of months. If your extract is too old, the init command will now throw an error.

See also #2206.