summaryrefslogtreecommitdiff
path: root/qpid/cpp
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
commitad56f81b7bc286bacb399c9afa6f019427aaa1b4 (patch)
tree815430624096e1974df5c45c23b98087df6a8866 /qpid/cpp
parent9aa6074f06c87be8834d2562d91faac30a5ee5f5 (diff)
downloadqpid-python-ad56f81b7bc286bacb399c9afa6f019427aaa1b4.tar.gz
Fix cluster race condition for new members joining.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@739051 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/src/qpid/cluster/Cluster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/cluster/Cluster.cpp b/qpid/cpp/src/qpid/cluster/Cluster.cpp
index cccb1fa098..09135a3b52 100644
--- a/qpid/cpp/src/qpid/cluster/Cluster.cpp
+++ b/qpid/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;
}