diff options
author | Alan Conway <aconway@apache.org> | 2012-08-06 20:44:58 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2012-08-06 20:44:58 +0000 |
commit | b4bf620d26fcb029186be1c1ab9b73ea05eb0d37 (patch) | |
tree | 81831e351264ab5a77dcb6b5faf6b74941a1668e /qpid/cpp/src/tests/TopicExchangeTest.cpp | |
parent | e4347cca011e0c7630e835bd96bc66b3e4e9a31c (diff) | |
download | qpid-python-b4bf620d26fcb029186be1c1ab9b73ea05eb0d37.tar.gz |
QPID-4191: HA removing self address breaks if a VIP is used.
Pre this patch the HA broker removed its own address from the set of cluster
addresses to form the set of failover addresses. The goal was avoid useless
self-connection attempts. However this was broken with a Virtual IP address
where a single address is used for the entire cluster.
The remove-self is not essential, self-connection attempts are prevented
elsewhere. Backup brokers will be prevented from connecting to self by the same
connection-observer as normal clients, and this patch addes self-connection
checks ins
This patch
- removes the code to remove self-addresses
- adds self-connection checks in ConnectionObserver
- adds & reorders some log statements & comments for greater clarity.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1370002 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/TopicExchangeTest.cpp')
0 files changed, 0 insertions, 0 deletions