[OSM-dev] Strange 412 error on relation upload / reason: integrity problem
Tom Hughes
tom at compton.nu
Wed Jun 11 23:46:59 BST 2008
In message <485050DF.80501 at remote.org>
Frederik Ramm <frederik at remote.org> wrote:
> I had this once in the past already, and it happened again today. A
> perfectly valid looking relation returns a 412 error on upload. You
> check all the ways in the relation, they all seem to exist. You look at
> the ruby code and find that the relation upload also verifies the
> integrity of the ways (maybe unnecessarily...) and you check those. You
> find that one of the ways - in my case, way #23570555 - references a
> deleted node (#25934779).
>
> You check the history and find that the most recent version of that way
> present in the history tables does *not* reference the deleted node.
>
> So, for some reason, the node seems to have been deleted from the way,
> the history table was updated, but the current table wasn't.
The only strange thing here is why you think this is odd. We don't
have (working) transactions so this sort of shit happens.
Tom
--
Tom Hughes (tom at compton.nu)
http://www.compton.nu/
More information about the dev
mailing list