summaryrefslogtreecommitdiff
path: root/qpid/python
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
commit5c770836ef534630aec5abcebd6808b7f26133f7 (patch)
tree95429e5fceea7035dcc598a5816a8495e399b97b /qpid/python
parent66a21c36f8df4907c141a2329a7a31252dfd9c20 (diff)
downloadqpid-python-5c770836ef534630aec5abcebd6808b7f26133f7.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@1364804 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
0 files changed, 0 insertions, 0 deletions