diff options
| author | Alan Conway <aconway@apache.org> | 2012-11-01 13:42:36 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2012-11-01 13:42:36 +0000 |
| commit | 00935fcbf0ccbec39fe8357c425c7888006de6da (patch) | |
| tree | 6387c6ba0e4ef61182af703bade082ad3b15aedf /qpid/cpp/managementgen | |
| parent | 2e5015bdae926c757111bfd6c3b1720756e582be (diff) | |
| download | qpid-python-00935fcbf0ccbec39fe8357c425c7888006de6da.tar.gz | |
QPID-4394: HA QMF events out of order
QMF create/delete events for auto-delete queues can be generated out-of-order
because they are not regulated by any lock. This creates problems for HA
replication. This commit does 2 things:
1. Dispatch QMF events via a pollable queue. Events are encoded in the thread
calling raiseEvent then put on a PollableQueue to be dispatched in a separate thread.
This allows us to move the raiseEvent calls inside registry locks to ensure
they are ordered.
2. Move queue create and delete raiseEvent calls inside the queue registry
lock so they are executed in order.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1404590 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/managementgen')
0 files changed, 0 insertions, 0 deletions
