From c1624ea57c4097b30c155844e66ebbbe2dddc20e Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 8 Jul 2009 11:48:57 +0000 Subject: QPID-1974: Fixes (and tests) for updating lvq state to new cluster members. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@792103 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/Queue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/broker/Queue.cpp') diff --git a/cpp/src/qpid/broker/Queue.cpp b/cpp/src/qpid/broker/Queue.cpp index 759a38d919..30be733f89 100644 --- a/cpp/src/qpid/broker/Queue.cpp +++ b/cpp/src/qpid/broker/Queue.cpp @@ -570,7 +570,7 @@ void Queue::push(boost::intrusive_ptr& msg, bool isRecovery){ string key = ft->getAsString(qpidVQMatchProperty); i = lvq.find(key); - if (i == lvq.end()){ + if (i == lvq.end() || msg->isUpdateMessage()){ messages.push_back(qm); listeners.populate(copy); lvq[key] = msg; -- cgit v1.2.1