diff options
author | Carl C. Trieloff <cctrieloff@apache.org> | 2009-07-07 01:53:13 +0000 |
---|---|---|
committer | Carl C. Trieloff <cctrieloff@apache.org> | 2009-07-07 01:53:13 +0000 |
commit | cbc1284b92c4598409cb671a668ce9a6deae8fc3 (patch) | |
tree | 06b05de0bfa3d379086e06ad6a6f0beeed662aa6 /cpp/src/qpid/broker/Queue.cpp | |
parent | 26cb2d00a4fab187d24c9af9115eb9e126a0d0d2 (diff) | |
download | qpid-python-cbc1284b92c4598409cb671a668ce9a6deae8fc3.tar.gz |
Corrected the case where message on more than one queue does not persist when last node standing is enabled
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@791672 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Queue.cpp')
-rw-r--r-- | cpp/src/qpid/broker/Queue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/Queue.cpp b/cpp/src/qpid/broker/Queue.cpp index 64efc93a22..30b33d877b 100644 --- a/cpp/src/qpid/broker/Queue.cpp +++ b/cpp/src/qpid/broker/Queue.cpp @@ -668,7 +668,7 @@ void Queue::setLastNodeFailure() for ( Messages::iterator i = messages.begin(); i != messages.end(); ++i ) { if (lastValueQueue) checkLvqReplace(*i); i->payload->forcePersistent(); - if (i->payload->getPersistenceId() == 0){ + if (i->payload->isForcedPersistent() ){ enqueue(0, i->payload); } } |