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 | b81ca39d3cfbb1622a68fd2ddb86b883910a5229 (patch) | |
| tree | c76ee09a482f83538c36e6393d4a08370c4d7c6d /qpid/cpp/include | |
| parent | b3bcd521a46ca9e351e295fc8685712291bd86dd (diff) | |
| download | qpid-python-b81ca39d3cfbb1622a68fd2ddb86b883910a5229.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@1343347 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/include')
0 files changed, 0 insertions, 0 deletions
