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

Pedro Ruivo (Jira) issues at jboss.org
Thu Jun 4 13:29:05 EDT 2020


     [ https://issues.redhat.com/browse/ISPN-11961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pedro Ruivo updated ISPN-11961:
-------------------------------
    Status: Open  (was: New)


> 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
>            Priority: Major
>             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