summaryrefslogtreecommitdiff
path: root/python/qpid/queue.py
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
commitfec5d6c1b73c4608cb3ffccfa9f0209f23bbd59f (patch)
tree75434da940e909ac79a05049f74743c8a928709c /python/qpid/queue.py
parentc6ba46b7c0ccf817b7857760a819736c779eeb04 (diff)
downloadqpid-python-fec5d6c1b73c4608cb3ffccfa9f0209f23bbd59f.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 'python/qpid/queue.py')
0 files changed, 0 insertions, 0 deletions