[OSM-talk] Replication stopped
Stephan Knauss
osm at stephans-server.de
Fri Aug 13 00:18:42 BST 2010
Grant Slater wrote:
> There were networking problem around 8:45am (BST) with planet.osm.org,
> this seems to have cause "osmosis --read-replication-interval" to
> lock.
My replication script got also stuck. I wish someone could implement a
timeout so after receiving no data for a certain time it returns with an
error.
To my understanding the download is done in BaseReplicationDownloader
using a InputStream.
Is it correct that an input stream can not be interrupted?
So it might be better rewritten to a way it can be interrupted. I never
worked with java.nio.channels, but the description sounds like this is
what's needed there.
Stephan
More information about the talk
mailing list