summaryrefslogtreecommitdiff
path: root/cpp/src/tests/ProxyTest.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2012-07-23 21:29:01 +0000
committerAlan Conway <aconway@apache.org>2012-07-23 21:29:01 +0000
commit776eb5b4dd4ae24a5371086128b884ed544c67f2 (patch)
tree75434da940e909ac79a05049f74743c8a928709c /cpp/src/tests/ProxyTest.cpp
parenta6dea5ae9350dad719e229b082ab9a6a096f9053 (diff)
downloadqpid-python-776eb5b4dd4ae24a5371086128b884ed544c67f2.tar.gz
QPID-4159: HA Missing messages in failover test.
QueueGuard was taking its snapshot of the initial queue range *before* it registered its QueueObserver. That means it was possible to have unguarded messages between the end of the snapshot and the first position protected by the guard. Fixed race condition in QueueRange constructor: Must call getPosition() *after* getFront() since both may be advancing and we want to end up with a valid range front <= back+1. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1364804 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/ProxyTest.cpp')
0 files changed, 0 insertions, 0 deletions