[OSM-dev] Datacorruption Part IV; where way members are not in the planet

Frederik Ramm frederik at remote.org
Fri Nov 28 00:11:01 GMT 2008


Hi,

Stefan de Konink wrote:
> I think it would be very good if the dump process was done in the 
> following sequence; first relations, then ways then nodes. In that case 
> all dependencies are resolved. 

No, because just after you have dumped the ways and before you have 
dumped the nodes, someone might delete a way and all its nodes; you have 
already dumped the way but will not dump the nodes -> inconsistency.

The only way to do this right is to work from the history tables like 
the diffs do, but that currently is too expensive in terms of database load.

The problem is not that big because, as has been pointed out already, 
you can always "upgrade" a planet file to be consistent by applying the 
matching daily diff.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"




More information about the dev mailing list