summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-01-29 22:24:22 +0000
committerAlan Conway <aconway@apache.org>2009-01-29 22:24:22 +0000
commit92578017571db0d7a739a1d239cb590c4410124b (patch)
treedcaf9e6e20451cd47e40eed24f6951fca3248576 /cpp/src
parentbf8fdf91247a290d8355a5532ed47a484f74b066 (diff)
downloadqpid-python-92578017571db0d7a739a1d239cb590c4410124b.tar.gz
Fix cluster race condition for new members joining.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@739051 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/cluster/Cluster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/Cluster.cpp b/cpp/src/qpid/cluster/Cluster.cpp
index cccb1fa098..09135a3b52 100644
--- a/cpp/src/qpid/cluster/Cluster.cpp
+++ b/cpp/src/qpid/cluster/Cluster.cpp
@@ -209,7 +209,7 @@ void Cluster::deliveredEvent(const Event& e) {
Buffer buf(const_cast<char*>(e.getData()), e.getSize());
boost::intrusive_ptr<Connection> connection;
if (e.isConnection()) {
- if (state == JOINER) {
+ if (state <= JOINER) {
QPID_LOG(trace, *this << " DROP: " << e);
return;
}