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:[email protected]

Reply via email to