[osmosis-dev] merge-replication-files does skip missing minutes

Eugene Podshivalov yaugenka at gmail.com
Wed Jan 30 18:25:50 UTC 2019


Hi all,
I wanted to submit this issue as a bug into the tracker it but it says
"action none is unavailable" and there are no action to select from, so I'm
writing it to here.

Replication servers may have some minutes missing in which case they skip a
minute but increase the sequencenumber by one as usual. osmosis on the
contrary generates an empty file and assigns a sequencenumber to it as
usual. That results in mismatch between server and local store sequence
numbering.

For example, the planet server has a minute missing in between
https://planet.openstreetmap.org/replication/minute/003/344/
527.state.txt
sequenceNumber=3344527
timestamp=2019-01-30T01\:54\:02Z
528.state.txt
sequenceNumber=3344528
timestamp=2019-01-30T01\:56\:03Z

osmossis --mrf creates an extra file with no data
527.state.txt
sequenceNumber=3344527
timestamp=2019-01-30T01\:54\:00Z
528.state.txt
sequenceNumber=3344528
timestamp=2019-01-30T01\:55\:00Z
529.state.txt
sequenceNumber=3344529
timestamp=2019-01-30T01\:56\:00Z - this file has no data

Pay attention to the "03Z" in the server timestamp. It looks like a missing
minute counter.

Cheers,
Eugene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20190130/f504858b/attachment.html>


More information about the osmosis-dev mailing list