[Xapian-tickets] [Xapian] #546: xapian-replicate reads from a socket without using timeouts
Xapian
nobody at xapian.org
Thu May 7 14:11:53 BST 2015
#546: xapian-replicate reads from a socket without using timeouts
-------------------------+-----------------------------
Reporter: nkvoll | Owner: olly
Type: defect | Status: assigned
Priority: normal | Milestone: 1.2.21
Component: Replication | Version:
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
-------------------------+-----------------------------
Changes (by olly):
* milestone: 1.3.3 => 1.2.21
Comment:
[1500c38b4f9720a8973e58ce76ea10beb3203fd2] adds an option to `xapian-
replicate` to allow specifying a socket level timeout, and also turns on
`SO_KEEPALIVE` for that socket.
I'm not clear on how to repeat the test with `iptables`. It says I need
to find the port with `lsof -i`, but is that the port on the replication
server or client?
And I guess I need to run that while a replication is happening - did you
just use a suitably large database that replication ran for long enough
that you could look up the port and run the `iptables` command, or was
there some trick to this?
It would be nice to backport this to 1.2.x, so marking for 1.2.21, at
least for now. I'd really like to be able to test this first though.
--
Ticket URL: <http://trac.xapian.org/ticket/546#comment:14>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list