summaryrefslogtreecommitdiff
path: root/python/qpid/util.py
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2013-06-17 14:19:10 +0000
committerAlan Conway <aconway@apache.org>2013-06-17 14:19:10 +0000
commit1093062db03077998823cbefb9ca9645076694ea (patch)
tree577707a6dafe630794aaafd69a7d127ee88a9dbd /python/qpid/util.py
parent1ac5dfc01dbfaa648d5f75eec8b066696f307e61 (diff)
downloadqpid-python-1093062db03077998823cbefb9ca9645076694ea.tar.gz
QPID-4348: HA Use independent sequence numbers for identifying messages
Previously HA code used queue sequence numbers to identify messasges. This assumes that message sequence is identical on primary and backup. Implementing new features (for example transactions) requires that we tolerate ordering differences between primary and backups. This patch introduces a new, queue-scoped HA sequence number managed by the HA plugin. The HA ID is set *before* the message is enqueued and assigned a queue sequence number. This means it is possible to identify messages before they are enqueued, e.g. messages in an open transaction. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1493771 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/util.py')
0 files changed, 0 insertions, 0 deletions