diff options
| author | Alan Conway <aconway@apache.org> | 2013-04-26 17:28:26 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2013-04-26 17:28:26 +0000 |
| commit | 0665109d25ef299dfe658bc53f1f05ad88fd12b5 (patch) | |
| tree | 16d27505d374a5890d2d693725d20c3760eed7d7 /cpp/src/tests/logging.cpp | |
| parent | b21b25c29744b9bdfe4c1bcda98a687cfe739678 (diff) | |
| download | qpid-python-0665109d25ef299dfe658bc53f1f05ad88fd12b5.tar.gz | |
QPID-4780: Bug 889552 - HA broker deadlock after loss of primary broker.
Lock ordering deadlock found by inspection of code and stack trace:
- thread 1: Link::ioThreadProcessing(Link:lock)-> QueueReplicator::initializeBridge(QueueReplicator::lock)
- thread 2: QueueReplicator::destroy(QueueReplicator::lock)-> Bridge::destroy(Link::lock)
This patch breaks the lock by removing locking around Bridge::destroy in QueueReplicator::destroy.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1476305 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/logging.cpp')
0 files changed, 0 insertions, 0 deletions
