diff options
author | Alan Conway <aconway@apache.org> | 2012-10-02 21:46:50 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2012-10-02 21:46:50 +0000 |
commit | 8ad1a1f59ad2ddd802c5efba06cf445d1fae1c64 (patch) | |
tree | 1fc850ad0238a2b98400ce1f93a94ae46dafe9a3 /cpp/src/tests/FieldTable.cpp | |
parent | 316664b4c66e4fc53eaa42d4ef8f5c1cad50bc72 (diff) | |
download | qpid-python-8ad1a1f59ad2ddd802c5efba06cf445d1fae1c64.tar.gz |
QPID-4285: HA backups continuously disconnect / re-sync after attempting to replicate a deleted queue
Fixes queues getting into a partially deleted state: previously when a broker was
promoted, it did not clean up it's QueueReplicators. The QueueReplicators keep a
shared_ptr to the Queue so this kept Queues in memory after they were destroyed. It also
kept them in QMF, since the management object is unregistered in the destructor.
This patch cleans up properly on promotion.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1393201 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/FieldTable.cpp')
0 files changed, 0 insertions, 0 deletions