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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Eugene Podshivalov
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
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

_______________________________________________
osmosis-dev mailing list
[hidden email]
https://lists.openstreetmap.org/listinfo/osmosis-dev