[jboss-jira] [JBoss JIRA] Commented: (JGRP-416) MergeView processing fails for Multiplexer channel

Vladimir Blagojevic (JIRA) jira-events at lists.jboss.org
Mon Mar 12 09:49:47 EDT 2007


    [ http://jira.jboss.com/jira/browse/JGRP-416?page=comments#action_12355816 ] 
            
Vladimir Blagojevic commented on JGRP-416:
------------------------------------------

Not resolving yet since test fails if STREAMING_STATE_TRANSFER is used. Investigating...

> MergeView processing fails for Multiplexer channel
> --------------------------------------------------
>
>                 Key: JGRP-416
>                 URL: http://jira.jboss.com/jira/browse/JGRP-416
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 2.4.1
>            Reporter: Jerry Gauthier
>         Assigned To: Vladimir Blagojevic
>             Fix For: 2.5
>
>
> When I simulate a cluster failure and restart using a Multiplexer channel, the merge process fails in JGroups with an UnsupportedOperationException in Multiplexer.mergeServiceState().  The stack trace is as follows.
> ERROR [org.jgroups.mux.Multiplexer] problems handling merge view java.lang.UnsupportedOperationException
> at org.jgroups.util.UnmodifiableVector.retainAll(UnmodifiableVector.java:158)
> at org.jgroups.mux.Multiplexer.mergeServiceState(Multiplexer.java:867)
> at org.jgroups.mux.Multiplexer.handleMergeView(Multiplexer.java:812)
> at org.jgroups.mux.Multiplexer.access$200(Multiplexer.java:21)
> at org.jgroups.mux.Multiplexer$1.run(Multiplexer.java:287)
> I looked at the relevant JGroups code and it appears that JGroups uses a MergeView object that always returns an UnmodifiableVector when MergeView.getMembers() is invoked.  The Multiplexer.mergeServiceState() method invokes MergeView.getMembers() followed by UnmodifiableVector.retainAll(), causing the exception to occur.
> This problem can be replicated by executing DRMTestCase in JBossAS 5.0.  The error occurs in DRMTestCase.testIsMasterReplica().

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list