[Xapian-tickets] [Xapian] #546: xapian-replicate reads from a socket without using timeouts

Xapian nobody at xapian.org
Thu May 19 13:54:04 BST 2011


#546: xapian-replicate reads from a socket without using timeouts
--------------------+-------------------------------------------------------
 Reporter:  nkvoll  |       Owner:  olly
     Type:  defect  |      Status:  new 
 Priority:  normal  |   Milestone:      
Component:  Other   |     Version:      
 Severity:  normal  |    Keywords:      
Blockedby:          |    Platform:  All 
 Blocking:          |  
--------------------+-------------------------------------------------------
 Im using xapian-replicate to replicate an index in two different
 availability zones in EC2. In one of the zones, the replication stops
 semi-regularily (a couple of times every day) and I have to manually
 restart it.

 The result of strace and a gdb backtrace is shown here:
 https://gist.github.com/4925a7eaeece552ccff5

 As rboulton pointed out on irc, this does not necessarily work well in
 dodgy networks.

 Maybe a timeout could be implemented (configurable by some command-line
 switch) that would cause a reconnection if the timeout was hit?

-- 
Ticket URL: <http://trac.xapian.org/ticket/546>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list