[OSM-dev] OSM without segments - prototype

Martijn van Oosterhout kleptog at gmail.com
Mon Aug 20 13:09:00 BST 2007


On 8/20/07, Tom Hughes <tom at compton.nu> wrote:
> I'd love to do that, but it has one really horrible problem - what do
> you do if you get halfway through the file and encounter an error... How
> do you roll back the changes you have already made?

Well, for another point of view, I'd prefer the changes that could be
made got applied and the rest got returned in an error message.

For example: for the AND import we're going to be deleting 180,000
nodes and for all sorts of reasons it's possible that some are going
to fail (maybe someone created a new segment between the time the list
was generated and the time we delete).

Anyway, from my point of view it would be best if those that could be
deleted were, and the ones that failed got listed. Sure, transactions
are nice, but they're not required in all cases.

Have a nice day,
-- 
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/




More information about the dev mailing list