[infinispan-issues] [JBoss JIRA] (ISPN-11961) DefaultIracManager should handle ImmutableSet

Pedro Ruivo (Jira) issues at jboss.org
Wed Jun 3 12:03:01 EDT 2020


Pedro Ruivo created ISPN-11961:
----------------------------------

             Summary: DefaultIracManager should handle ImmutableSet
                 Key: ISPN-11961
                 URL: https://issues.redhat.com/browse/ISPN-11961
             Project: Infinispan
          Issue Type: Bug
          Components: Cross-Site Replication
    Affects Versions: 11.0.0.CR1
            Reporter: Pedro Ruivo
            Assignee: Pedro Ruivo
             Fix For: 11.0.0.Final


I forgot there are immutable {{Intset}} implementation and {{IntSet.from()}} can return one of those instances.
If that is the case, bad things happen...

{code}
Caused by: java.lang.UnsupportedOperationException: RangeSet is immutable
	at org.infinispan.commons.util.RangeSet.removeAll(RangeSet.java:156)
	at org.infinispan.xsite.irac.DefaultIracManager.onTopologyUpdate(DefaultIracManager.java:211)
	at org.infinispan.statetransfer.StateTransferManagerImpl.doTopologyUpdate(StateTransferManagerImpl.java:189)
{code}




--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list