[jboss-jira] [JBoss JIRA] (JGRP-2205) DISCARD ignores the DONT_LOOPBACK transient flag

Bela Ban (JIRA) issues at jboss.org
Mon Jul 24 12:12:00 EDT 2017


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

Bela Ban commented on JGRP-2205:
--------------------------------

Are you suggesting to _not_ drop the message in {{down(Message)}} if {{discard_all == true}}, but later in {{up(Message()}} / {{up(MessageBatch}}?

> DISCARD ignores the DONT_LOOPBACK transient flag
> ------------------------------------------------
>
>                 Key: JGRP-2205
>                 URL: https://issues.jboss.org/browse/JGRP-2205
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 4.0.4
>            Reporter: Dan Berindei
>            Assignee: Bela Ban
>             Fix For: 4.0.5
>
>
> When {{discard_all = true}}, {{DISCARD}} does its own loopback, and doesn't check for {{DONT_LOOPBACK}} like {{TP}}. It always sends the message back up, even if {{excludeItself = false}}.
> If possible, {{DISCARD}} should just set the message destination to the local address and pass the message down. That way, {{TP}} would decide make the loopback decision, and using the {{TP}} thread pool would also make the thread name nicer in the logs. (Currently the thread name is {{Thread-n}}, which means searching for the test name in our test suite's log misses some messages.)



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list