[
https://issues.jboss.org/browse/ISPN-1462?page=com.atlassian.jira.plugin....
]
Dan Berindei updated ISPN-1462:
-------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
https://github.com/infinispan/infinispan/pull/575
When the channel was connected before handing it to JGroupsTransport viewAccepted() was
not called and the members list was not initialized.
JGroupsTransport doesn't initialize properly when it receives an
already-connected JGroups channel
--------------------------------------------------------------------------------------------------
Key: ISPN-1462
URL:
https://issues.jboss.org/browse/ISPN-1462
Project: Infinispan
Issue Type: Bug
Components: RPC
Affects Versions: 5.1.0.BETA1
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Blocker
Fix For: 5.1.0.BETA2
When the JGroups channel is connected outside Infinispan, before passing it to
JGroupsTransport, the member list is not initialized.
This can lead to strange errors like this one:
java.lang.IllegalArgumentException: Invalid cache list for consistent hash: []
at
org.infinispan.distribution.ch.AbstractWheelConsistentHash.setCaches(AbstractWheelConsistentHash.java:96)
at
org.infinispan.distribution.ch.ConsistentHashHelper.createConsistentHash(ConsistentHashHelper.java:122)
at
org.infinispan.statetransfer.ReplicatedStateTransferManagerImpl.createConsistentHash(ReplicatedStateTransferManagerImpl.java:56)
at
org.infinispan.statetransfer.BaseStateTransferManagerImpl.start(BaseStateTransferManagerImpl.java:143)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira