[Tile-serving] [openstreetmap/osm2pgsql] Uk changes (#1566)
doskabouter
notifications at github.com
Thu Sep 2 11:36:05 UTC 2021
## What version of osm2pgsql are you using?
2021-09-02 13:16:01 osm2pgsql version 1.5.0
Build: Release
Compiled using the following library versions:
Libosmium 2.17.0
Proj [API 4] Rel. 4.9.3, 15 August 2016
Lua 5.3.4
## What operating system and PostgreSQL/PostGIS version are you using?
Windows, Postgres 11.2, Postgis 2.5
## Tell us something about your system
Vm 30 cores, 128GB Ram, but not really relevant here
## What did you do exactly?
ran an update of a day's changes with osmosis (latest version) and collected the changes that are done to https://www.openstreetmap.org/relation/6038068/
## This strikes me as odd:
The changes that I see that are done in the database (I used a trigger on the tables to populate a table with all the changes that are applied) for the UK are not what I expected.
When applying the changes for changeset for sequencenr 3227 (of the planet file, timestamp=2021-07-14T00\:00\:00Z) I see in my changes table 7 inserts (for each polygon of the 6038068 relation), followed a while later by 7 deletes for each polygon of those polygons, follocvdfwed later by 7 inserts of those same polygons again.
This really messes up my tile-invalidation scheme, based on the Insert-Delete-Insert, I technically have to invalidate all tiles that overlap that polygon.
>From what I can find out there are no tag changes, only geochanges.
Also logged the times of those inserts/deletes, and it seems like the first insert was added in the "Reading input files" stage and the delete and 2nd insert were done in the "Going over pending relations" stage.
I know I'm a bit lagging behind on updates, but for the case in hand I think it's not really relevant.
Also I noticed this for a couple of days more preceding the 3227 sequence but unfortunately I didn't log enough info to deeply analyze it and present it here.
Tried to check the history of that relation on openstreetmap.org and the deep diff of the relation on http://osm.mapki.com, but both timeout before returning any results, so that doesn't help either
So to conclude, my guess would be that some relations are wrongly marked as pending and thus get processed twice.
If I have some more logging in the next couple of days, I'll analyze them and add conclusions here
--
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/1566
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210902/614f46c8/attachment.htm>
More information about the Tile-serving
mailing list