[OSM-dev] [overpass] Re: Minute replication hiccup

Sarah Hoffmann lonvia at denofr.de
Sat Feb 13 09:26:17 UTC 2016


On Fri, Feb 12, 2016 at 12:50:32PM +0000, Tom Hughes wrote:
> On 12/02/16 12:17, Roland Olbricht wrote:
> 
> >something strange has happened to
> >http://planet.osm.org/replication/minute/001/788/263.osc.gz
> 
> Yes, exactly the same thing as the last N times you asked ;-)
> 
> The machine crashed, and because osmosis doesn't fsync the state
> file the last state was lost and Matt had to reset it.

Wouldn't it be better to leave an empty diff file for the broken
sequence id and reset so that it continues with the subsequent id?
Most clients should be able to cope with replayed data and
hopefully also with empty diff files.
In any case, even a crashing client is preferable to silently
loosing data.

Sarah



More information about the dev mailing list