diff options
| author | Alan Conway <aconway@apache.org> | 2011-04-19 17:46:03 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2011-04-19 17:46:03 +0000 |
| commit | 300bfee5f5de83f9f114caa21968f8ad918c44a3 (patch) | |
| tree | 85ad46b51541991fa05900731b1b403a2018b693 /qpid/cpp/src/tests/TxBufferTest.cpp | |
| parent | 33e1a4b98e7d5ca7e569d03e918d92a7a56a5b14 (diff) | |
| download | qpid-python-300bfee5f5de83f9f114caa21968f8ad918c44a3.tar.gz | |
QPID-3215: cached exchange reference can cause cluster inconsistencies if exchange is deleted/recreated
SemanticState::route() uses a simple cache variable to avoid looking
up the exchange for every message. However if the exchange in question
is deleted, even if then recreated, this can cause inconsistencies in
a cluster.
Even in a stand-alone broker messages can be routed by a deleted
exchange because of the cache.
Fix is to mark the exchange deleted and check the status when using
the cached exchange.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1095144 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/TxBufferTest.cpp')
0 files changed, 0 insertions, 0 deletions
