[jboss-jira] [JBoss JIRA] (JGRP-1603) DISCARD doesn't loopback unicast messages when inserted dynamically

Bela Ban (JIRA) jira-events at lists.jboss.org
Thu Feb 28 03:22:56 EST 2013


    [ https://issues.jboss.org/browse/JGRP-1603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757406#comment-12757406 ] 

Bela Ban commented on JGRP-1603:
--------------------------------

OK, I fixed DISCARD: now the local address is fetched just-in-time from JChannel if null. However, this doesn't make the test pass; only if RSVP.throw_exception_on_timeout is set to false, does it pass.
The reason is that RSVP waits for acks from both A and B, but doesn't get one from B, and throws an exception, so we never even get to the point where we can check the response list.
I added DynamicDiscardTest to JGroups (thanks !), the code is in master.
                
> DISCARD doesn't loopback unicast messages when inserted dynamically
> -------------------------------------------------------------------
>
>                 Key: JGRP-1603
>                 URL: https://issues.jboss.org/browse/JGRP-1603
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 3.3
>            Reporter: Dan Berindei
>            Assignee: Bela Ban
>             Fix For: 3.3
>
>         Attachments: DynamicDiscardTest.java
>
>
> If DISCARD isn't present in the stack on startup, it doesn't receive the {{SET_LOCAL_ADDRESS}} and it doesn't populate its {{localAddress}}. Because of this, it will discard all unicast messages, even if they're addressed to the local node.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list