<p>Reported to libosmium in <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="426187817" data-permission-text="Issue title is private" data-url="https://github.com/osmcode/libosmium/issues/278" data-hovercard-type="issue" data-hovercard-url="/osmcode/libosmium/issues/278/hovercard" href="https://github.com/osmcode/libosmium/issues/278">osmcode/libosmium#278</a>. Please follow there for updates on the issue.</p>
<p>The offending relation was deleted in a bit less than three hours after creation. Therefore the recommended workaround is to consume a combined diff of at least 3 hours to circumvent importing the relation. For most setups that simply means killing the stalled osm2pgsql process and restarting with a larger diff. When using osmosis for downloading diffs, make sure maxInterval is 10800 or larger. When using pyosmium-get-changes use <code>-s</code> with at least 200.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/issues/925#issuecomment-477354275">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AD2-7t0jpU0lQd8M9DYaKqPoUDCC6UDNks5va-I9gaJpZM4cOvtf">mute the thread</a>.<img src="https://github.com/notifications/beacon/AD2-7pOhyu0K5HdPxjAMCks_RCjxsIJCks5va-I9gaJpZM4cOvtf.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/osm2pgsql","title":"openstreetmap/osm2pgsql","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/osm2pgsql"}},"updates":{"snippets":[{"icon":"PERSON","message":"@lonvia in #925: Reported to libosmium in https://github.com/osmcode/libosmium/issues/278. Please follow there for updates on the issue.\r\n\r\nThe offending relation was deleted in a bit less than three hours after creation. Therefore the recommended workaround is to consume a combined diff of at least 3 hours to circumvent importing the relation. For most setups that simply means killing the stalled osm2pgsql process and restarting with a larger diff. When using osmosis for downloading diffs, make sure maxInterval is 10800 or larger. When using pyosmium-get-changes use `-s` with at least 200."}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/osm2pgsql/issues/925#issuecomment-477354275"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/issues/925#issuecomment-477354275",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/925#issuecomment-477354275",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>