Your message dated Thu, 13 Apr 2017 21:34:29 +0000
with message-id <[email protected]>
and subject line Bug#860273: fixed in osm2pgsql 0.92.0+ds-2
has caused the Debian Bug report #860273,
regarding osm2pgsql: Data disappears with --append --output multi
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
860273: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860273
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: osm2pgsql
Version: 0.92.0+ds-1
Severity: important
Tags: patch upstream

Dear Maintainer,

When data is loaded with osm2pgsql with --slim --output multi and then updated
with --append --slim --output multi updated data disappears from the rendering
tables with no obvious cause. A case that reproduces this is loading the XML
in https://github.com/openstreetmap/osm2pgsql/issues/735#issuecomment-293423587
and updating with the diff in 
https://github.com/openstreetmap/osm2pgsql/issues/735#issue-220089109

This is caused by incorrect logic for queuing pending ways in the multi backend.
Instead of using the same logic as the pgsql backend ( > in an if condition)
different logic ( == in the corresponding condition) was used.

This has been fixed upstream and backported to 0.92.x with
https://github.com/openstreetmap/osm2pgsql/commit/8ffe16e67da43fd531a5e73b10d31465324f4a91

This bug applies to all currently released versions of osm2pgsql except 0.92.1.
It is mitigated by most people using --output pgsql or not consuming updates
with --append.

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages osm2pgsql depends on:
ii  libboost-filesystem1.62.0  1.62.0+dfsg-4
ii  libboost-system1.62.0      1.62.0+dfsg-4
ii  libbz2-1.0                 1.0.6-8.1
ii  libc6                      2.24-9
ii  libexpat1                  2.2.0-2
ii  libgcc1                    1:6.3.0-11
ii  libgeos-3.5.1              3.5.1-3
ii  liblua5.2-0                5.2.4-1.1+b2
ii  libpq5                     9.6.2-2
ii  libproj12                  4.9.3-1
ii  libstdc++6                 6.3.0-11
ii  zlib1g                     1:1.2.8.dfsg-5

Versions of packages osm2pgsql recommends:
ii  postgis  2.3.1+dfsg-1

osm2pgsql suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: osm2pgsql
Source-Version: 0.92.0+ds-2

We believe that the bug you reported is fixed in the latest version of
osm2pgsql, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bas Couwenberg <[email protected]> (supplier of updated osm2pgsql package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 13 Apr 2017 23:00:11 +0200
Source: osm2pgsql
Binary: osm2pgsql
Architecture: source amd64
Version: 0.92.0+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <[email protected]>
Changed-By: Bas Couwenberg <[email protected]>
Description:
 osm2pgsql  - OpenStreetMap data to PostgreSQL converter
Closes: 860273
Changes:
 osm2pgsql (0.92.0+ds-2) unstable; urgency=medium
 .
   * Add upstream patches from 0.92.x branch to fix two important issues:
     - Ignore relations with more than 32k members.
       There is a hard restriction in the pgsql middle tables, where
       relation members are indexed using a smallint. To remain
       consistent, drop all relations which exceed this size.
       https://github.com/openstreetmap/osm2pgsql/issues/713
     - Use the same logic for queuing pending ways with multi and pgsql.
       Fixes ways disappearing from the output table.
       https://github.com/openstreetmap/osm2pgsql/issues/735
     (closes: #860273)
Checksums-Sha1:
 ad0a349ae25b1872c829f32fd4d6f1b84de4c051 2293 osm2pgsql_0.92.0+ds-2.dsc
 e3c2924653335e707a7e0329261f12874cd5d149 15240 
osm2pgsql_0.92.0+ds-2.debian.tar.xz
 aad79bacde845f548eb4ca787ccd150ea468e43b 4533208 
osm2pgsql-dbgsym_0.92.0+ds-2_amd64.deb
 f1b8a4c380c2cf31c4683bc29c37af82824c9a4d 7475 
osm2pgsql_0.92.0+ds-2_amd64.buildinfo
 e0e2bf9720c3fe7c53077e2cac2655508589378b 360014 osm2pgsql_0.92.0+ds-2_amd64.deb
Checksums-Sha256:
 58431221eb0011fb1043ad9c03502e1b5311d153e412abe82eb35695865f1f36 2293 
osm2pgsql_0.92.0+ds-2.dsc
 00cecc6ae68e2ad6b1f716171c0e59c452fbaa884c3678961d201af7750d7c42 15240 
osm2pgsql_0.92.0+ds-2.debian.tar.xz
 cf957b69221556902e8951aa903702b59fc90edd8b47a4f74166aa70a3771865 4533208 
osm2pgsql-dbgsym_0.92.0+ds-2_amd64.deb
 c87eb7328809f736760cd9bbdbcd66df788add1606b3e3fb54ec29ae704057bd 7475 
osm2pgsql_0.92.0+ds-2_amd64.buildinfo
 71ea41a6e03c1cd99551d3361addc01d1e1171ae5fbc99447dd26508e9c3e206 360014 
osm2pgsql_0.92.0+ds-2_amd64.deb
Files:
 48800e1735b06d625ca9309e49a82238 2293 utils optional osm2pgsql_0.92.0+ds-2.dsc
 db0e995e6ca7aee04b3d6d9db39bf583 15240 utils optional 
osm2pgsql_0.92.0+ds-2.debian.tar.xz
 0dc99852358786f5e8b6049b620d7376 4533208 debug extra 
osm2pgsql-dbgsym_0.92.0+ds-2_amd64.deb
 cd8c79a628febbac609ce6ffc070fc41 7475 utils optional 
osm2pgsql_0.92.0+ds-2_amd64.buildinfo
 d32178748673c19c298bb5e8a4999920 360014 utils optional 
osm2pgsql_0.92.0+ds-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJY7+pOAAoJEGdQ8QrojUrxbfcP/iosuTXMJsjDTIrf41aThfrd
ctaxHnh8CijHOde9/Nw54aLDQ94kS2o2t7YnAQEtK39VguJn4cavGZrLmTORAVM+
zgAt9fhCWvplSJfdXI67DlTzyEHF3ujYD5XnYgP+Ha9kc760HY6+tpks9yJq0yhY
dCmXBowkwuotV38xrv05+hE5HRP5Vx1JLG7GRvKfZZ/d5QhSz3fp6Imc5Qnl3sXo
Lu9q4g4+nTURlnQ6rQW9IzLEG8dXPq1iLxmkS+9U+v7Zn6wyiPXASbKPSd/Q4f2y
CA61Ehs1+/tJ83lxyY7TqgHt0ivcO+dTfE4+ZtlskOkoxmPGNlmhtw0Rv650bUnY
q4+DtJHrX0hVzpssJQdh0F/pjfAzkcF30wExjb9iN1RBLPisUk1N77+ExTt4HfDs
9Dv6CJ6TeEJ+ueGaW1MRNPdAa2/fmJGigi9LYWHdm8v6P2jf6eHUqAnYDNi6QEcd
gwPu/Gnyl+kqcRN7hjtcnj9/xF5ktSI9pwZCvY9skoXP36PVzM2HfyaAPWS+kJvS
qx7IABVoGLhKMUD5ovjLy5aR8DqsicOk36ItpPmXcuHvZ0klzfuUUexwu0IZ3N9M
1zkITh5zi5irYbEpSaMdTZEqGKlkmJvKZX7g2b291e/uYAN+kt+JSVUlgKo6AUrh
awEaEVhX7HmioCcSBXZW
=4MBW
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to