You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (Commented) (JIRA)" <ji...@apache.org> on 2012/02/13 01:42:59 UTC

[jira] [Commented] (QPID-3605) Durable subscriber with no-local true receives messages on re-connection

    [ https://issues.apache.org/jira/browse/QPID-3605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13206593#comment-13206593 ] 

Robbie Gemmell commented on QPID-3605:
--------------------------------------

When undertaking QPID-3829 the changes made also stopped an NPE on the 0-8/0-9/0-9-1 subscriptions when evaluating no-local after store recovery, allowing NoLocalAfterRecoveryTest to be enabled again (though updated to make it simpler and more reliable.) If this JIRA is undertaken, that test will need updated to ensure that messages the client *should* have got (then excluding the ones that wouldnt have matched the no-local check when they were actually publsihed) but didnt before the broker restarted were successfully delivered afer a new no-local connection was established.
                
> Durable subscriber with no-local true receives messages on re-connection
> ------------------------------------------------------------------------
>
>                 Key: QPID-3605
>                 URL: https://issues.apache.org/jira/browse/QPID-3605
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.15
>            Reporter: Keith Wall
>
> If a durable subscriber using no-local true reconnects to the Java Broker, it receives all messages that publisher on same connection previously sent.  This defect is present on all code paths (0-8..0-10)
> See tests:
> (Java) org.apache.qpid.test.unit.topic.DurableSubscriptionTest#testNoLocalOnConnection
> (Python) qpid_tests.broker_0_10.message.MessageTests.test_no_local_awkward
> This defect does not manifest itself on the CPP Broker, as the CPP broker drops these messages.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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