[
https://issues.redhat.com/browse/ISPN-11426?page=com.atlassian.jira.plugi...
]
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)