[infinispan-issues] [JBoss JIRA] (ISPN-9621) Split global marshaller into Persistence and Internal marshaller

Ryan Emerson (Jira) issues at jboss.org
Fri Oct 19 09:21:00 EDT 2018


Ryan Emerson created ISPN-9621:
----------------------------------

             Summary: Split global marshaller into Persistence and Internal marshaller
                 Key: ISPN-9621
                 URL: https://issues.jboss.org/browse/ISPN-9621
             Project: Infinispan
          Issue Type: Sub-task
          Components: Core, Loaders and Stores
    Affects Versions: 9.4.0.Final
            Reporter: Ryan Emerson
            Assignee: Ryan Emerson
             Fix For: 10.0.0.Alpha1


Currently the internal marshaller is used for marshalling key/value/metadata in store implementations. This means that it is possible for internal classes to be marshalled to a user store, which can cause compatibility issues if an internal classes serialization format changes (due to marshaller changes or addition/removal of fields).

We should separate the internal and persistence marshaller, only exposing the latter to stores via the InitializationContext. The persistence marshaller should only be able to serialize user key/values and the metadata/version data.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list