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

Exception serializing L1InternalCacheEntry during state transfer

    XMLWordPrintable

Details

    Description

      L1InternalCacheEntry is not serializable, as only entries properly owned by the node are supposed to be sent via state transfer.

      However, when the last owner of a segment leaves the cluster, one of the other nodes becomes the owner of that segment, and the L1 entries it already has suddenly become part of the state it can send to other nodes. It then fails to send its state with this exception:

      [org.infinispan.marshall.core.VersionAwareMarshaller] (transport-thread--p19-t14) Object is not serializable: java.io.NotSerializableException: org.infinispan.container.entries.L1InternalCacheEntry
      

      This can happen quite often if L1 is enabled and numOwners = 1.

      Unfortunately, the serialization exception isn't propagated, and all the user sees is an initial state transfer timeout exception when trying to start another node later.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: