diff options
| author | Alan Conway <aconway@apache.org> | 2012-05-28 18:24:06 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2012-05-28 18:24:06 +0000 |
| commit | 5aadebe0233beb598ecea47f6b61a57445687e63 (patch) | |
| tree | f82688402704057000bfa13ce775fb8ad2f036ff /cpp/include | |
| parent | 2e94295802a69fd5e94e2df8ca1a3f9429439b1d (diff) | |
| download | qpid-python-5aadebe0233beb598ecea47f6b61a57445687e63.tar.gz | |
QPID-3603: Allow Queue::setPosition() to truncate the queue.
In the new HA code a backup may sometimes be ahead of the new primary after a
fail-over. In that case the backup truncates it's queues to the same position
as the primary so it can continue replicating.
(Note the assertions added to verify setPosition showed up a minor bug in the
old cluster code, which was leaving messages on the cluster update queue after
an update. This patch fixes the issue.)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1343347 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include')
0 files changed, 0 insertions, 0 deletions
