qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gordon Sim (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Created: (QPID-1971) bind in fedOpReorigen mode is not threadsafe for TopicExchange
Date Mon, 06 Jul 2009 15:26:14 GMT
bind in fedOpReorigen mode is not threadsafe for TopicExchange
--------------------------------------------------------------

                 Key: QPID-1971
                 URL: https://issues.apache.org/jira/browse/QPID-1971
             Project: Qpid
          Issue Type: Bug
    Affects Versions: 0.5
            Reporter: Gordon Sim
             Fix For: 0.6


    } else if (fedOp == fedOpReorigin) {
        for (BindingMap::iterator iter = bindings.begin();
             iter != bindings.end(); iter++) {
            const BoundKey& bk = iter->second;
            if (bk.fedBinding.hasLocal()) {
                propagateFedOp(iter->first, string(), fedOpBind, string());
            }
        }
    }


Note no lock held when iterating over bindings in snippet above.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message