diff options
| author | Alan Conway <aconway@apache.org> | 2011-03-30 19:30:16 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2011-03-30 19:30:16 +0000 |
| commit | aaeb9a08d5714a9c34018431c86f894294b766ea (patch) | |
| tree | 8e4b1279d01acbfe87ab1c589f31e6f58a54f112 /java | |
| parent | b637ac953835ea0d9b1c12aab250540acaaade99 (diff) | |
| download | qpid-python-aaeb9a08d5714a9c34018431c86f894294b766ea.tar.gz | |
QPID-3129: cluster_tests.LongTests.test_failover hangs
Fix is a race condition in posix/Socket.cpp Socket::connect.
When connecting to a port on the same host which no longer has a
process associated with it the OS occasionally chooses the remote
port (which is unoccupied) as the port to bind the local end of the
socket, resulting in a "circular" connection.
This seems like something the OS should prevent but I have confirmed
that the sporadic hangs in cluster_tests.LongTests.test_failover on
RHEL5 are caused by such a circular connection.
The fix is to detect circular connections and raise an error.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1087052 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions
