diff options
author | Alan Conway <aconway@apache.org> | 2009-07-01 21:58:40 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2009-07-01 21:58:40 +0000 |
commit | 4ceab39ad4caa3e1769ead86291b8f4297488fd8 (patch) | |
tree | 83e0533ec3bcaa3c63e27daac8d1614ab6997141 /cpp/src/qpid/cluster/ClusterMap.cpp | |
parent | 205287377cf6d24b461ef336b268294f860862a3 (diff) | |
download | qpid-python-4ceab39ad4caa3e1769ead86291b8f4297488fd8.tar.gz |
Fix members joining cluster while cluster is handling client errors.
Completes the previous incomplete fix in r790163.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@790397 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/ClusterMap.cpp')
-rw-r--r-- | cpp/src/qpid/cluster/ClusterMap.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cpp/src/qpid/cluster/ClusterMap.cpp b/cpp/src/qpid/cluster/ClusterMap.cpp index 0395ff6382..e8c421d4eb 100644 --- a/cpp/src/qpid/cluster/ClusterMap.cpp +++ b/cpp/src/qpid/cluster/ClusterMap.cpp @@ -158,8 +158,6 @@ bool ClusterMap::ready(const MemberId& id, const Url& url) { bool ClusterMap::configChange(const std::string& addresses) { bool memberChange = false; Set update = decode(addresses); - for (std::string::const_iterator i = addresses.begin(); i < addresses.end(); i += 8) - update.insert(MemberId(std::string(i, i+8))); Set removed; std::set_difference(alive.begin(), alive.end(), update.begin(), update.end(), |