diff options
| author | Alan Conway <aconway@apache.org> | 2013-11-12 16:58:52 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2013-11-12 16:58:52 +0000 |
| commit | 0630ea05003e6c530b9dde889e8296b12e67e41b (patch) | |
| tree | d3c441f0071f398f9ad31f872a95363109bf9212 /qpid/cpp/src/tests/ring_queue_test | |
| parent | c9b6567bbd2167284d357f4021954e8e5f976b67 (diff) | |
| download | qpid-python-0630ea05003e6c530b9dde889e8296b12e67e41b.tar.gz | |
QPID-5275: HA transactions failing in qpid-cluster-benchmark
The test was failing due to incorrect handling of the transaction lifecycle:
- Failing to handle the automatic rollback of the empty TX at session close.
- Deleting the tx-q before all backups were finished with it.
The fixes include
- Make tx-q auto-delete, deleted only when the TxReplicators cancel their subscriptions.
- Use markInUse/releaseFromUse on the primary to keep the tx-q until the primary is done.
- Count TxReplicators for auto-delete (unlike normal QueueReplicators)
- Improved error handling and log messages
- Handle *incoming* exceptions on a federation link by passing to ErrorListener
- QueueReplicator catches incoming not-found and resource-deleted exceptions
- close the backup bridge, handle race between subscribe and delete.
- Simplify QueueSnapshots, remove need for snapshot map.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1541146 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/ring_queue_test')
0 files changed, 0 insertions, 0 deletions
