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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Done
    • 5.1.0.BETA1
    • 5.1.0.BETA2
    • Core
    • None

    Description

      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)

      Attachments

        Activity

          People

            dberinde@redhat.com Dan Berindei
            dberinde@redhat.com Dan Berindei
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: