Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-6180

Marshaller mappings are not restored from disk on node start

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.3
    • None
    • None

    Description

      Steps to reproduce

      1. Start node1 with persistence enabled.
      2. Put instance of custom class to cache so marshaller mapping for the class is created.
      3. Restart node1.
      4. Start node2 and ensure it joins the cluster with node1.
      5. Get instance from cache on node2 added on step #2.

      Expected behavior

      Instance is retrieved and deserialized successfully.

      Actual behavior

      Exception is thrown, no instance is retrieved from cache.

      Caused by: java.lang.ClassNotFoundException: Unknown pair [platformId=0, typeId=-347776464]
      	at org.apache.ignite.internal.MarshallerContextImpl.getClassName(MarshallerContextImpl.java:392)
      	at org.apache.ignite.internal.MarshallerContextImpl.getClass(MarshallerContextImpl.java:342)
      	at org.apache.ignite.internal.binary.BinaryContext.descriptorForTypeId(BinaryContext.java:686)
      	... 15 more
      

      JUnit test is attached to the ticket.

      Attachments

        1. BinaryOnJoinedNodeTest.java
          2 kB
          Sergey Chugunov

        Activity

          People

            sergey-chugunov Sergey Chugunov
            sergey-chugunov Sergey Chugunov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: