[jboss-jira] [JBoss JIRA] (JGRP-1666) Thread is blocking in Relayer forever

Bela Ban (JIRA) jira-events at lists.jboss.org
Tue Jul 23 08:47:27 EDT 2013


     [ https://issues.jboss.org/browse/JGRP-1666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban updated JGRP-1666:
---------------------------

    Fix Version/s: 3.3.4


Probably doesn't apply to master as the routing code has changed quite a bit in master
                
> Thread is blocking in Relayer forever
> -------------------------------------
>
>                 Key: JGRP-1666
>                 URL: https://issues.jboss.org/browse/JGRP-1666
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 3.3.3
>            Reporter: Igor Mazur
>            Assignee: Bela Ban
>             Fix For: 3.3.4
>
>
> Hi,
> Probably i've found small issue.
> We had problem in next case: two ore more clusters connected via RELAY2. And when connection was broken for some time and site went from state UNKNOWN to DOWN and after that connection restored and site went UP - messages didnt pass between clusters at all.
> After some discovering of this problem I found that Relayer is blocking thread at putting message to blocking queue. And this thread will be blocked forever. Because it doesnt free this queue when site goes from state UNKNOWN to DOWN (method changeStatusToDown). Also this blocked thread is blocking of passing of any new messages through this relay - because on level NAKACK2 in method removeAndPassUp buf.getProcessing() was already setted up to true in blocked thread, and we hold this lock forever until relay goes down.
> I made pull request for this issue at github - https://github.com/belaban/JGroups/pull/87

--
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