Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1462

JGroupsTransport doesn't initialize properly when it receives an already-connected JGroups channel

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 5.1.0.BETA2
    • 5.1.0.BETA1
    • Core
    • None

      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)

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: