[infinispan-issues] [JBoss JIRA] (ISPN-11426) Add UUID to core SerializationContexts

Ryan Emerson (Jira) issues at jboss.org
Tue Apr 14 07:03:33 EDT 2020


     [ https://issues.redhat.com/browse/ISPN-11426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Emerson updated ISPN-11426:
--------------------------------
    Description: Currently we only register a ProtoStream marshaller for java.util.UUID in the server as they are required for the event logger, however this will also be required by core for `MultiClusterEventCommand` and `ClusterEvent`. It's not possible to register a class in multiple contexts when utilising a TypeId, therefore in order to avoid having to provide a TypeId for UUIDs in both core and server, we should register this in the core's persistence initializers.  (was: Currently we only register a ProtoStream marshaller for java.util.UUID in the server as they are required for the event logger, however this will also be required by core for `MultiClusterEventCommand` and `ClusterEvent`. It's not possible to register a class in multiple contexts when utilising a TypeId, therefore in order to avoid having to provide a TypeId for UUIDs in both core and server, we should register this in the core's persistence initializers. A flip-side to this is that it will also mean that UUIDs will be supported by default in embedded mode.)


> Add UUID to core SerializationContexts
> --------------------------------------
>
>                 Key: ISPN-11426
>                 URL: https://issues.redhat.com/browse/ISPN-11426
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Core
>    Affects Versions: 10.1.3.Final, 11.0.0.Alpha2
>            Reporter: Ryan Emerson
>            Assignee: Ryan Emerson
>            Priority: Major
>
> Currently we only register a ProtoStream marshaller for java.util.UUID in the server as they are required for the event logger, however this will also be required by core for `MultiClusterEventCommand` and `ClusterEvent`. It's not possible to register a class in multiple contexts when utilising a TypeId, therefore in order to avoid having to provide a TypeId for UUIDs in both core and server, we should register this in the core's persistence initializers.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)



More information about the infinispan-issues mailing list