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 | 3edb7ebe7a53524ba08cac1776b61c9bc0c273ab (patch) | |
tree | ed8108cd1173179a7d28114e739e9b6f4c20a998 /java/management/common/src | |
parent | ad733fda49c1958610ad17af355c3bfe044f9247 (diff) | |
download | qpid-python-3edb7ebe7a53524ba08cac1776b61c9bc0c273ab.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/qpid@1095144 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/management/common/src')
0 files changed, 0 insertions, 0 deletions