[openstreetmap-website] unsorted relations-to-delete cause "precondition failed" at upload (#688)
Matt Amos
notifications at github.com
Tue Jan 28 20:24:01 UTC 2014
The other issue is that diffs are processed in streaming fashion to avoid keeping the (potentially large) diff in memory. Sorting the changes, especially by membership, would introduce an even larger memory overhead. The correct way to do this, if you would like to submit a patch, is to defer foreign key / member-of / used-node checking until just before commit - this adds complexity, but would mean the ordering in the file would be relaxed.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/688#issuecomment-33520762
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20140128/86b32111/attachment.html>
More information about the rails-dev
mailing list