[
https://issues.redhat.com/browse/ISPN-11614?page=com.atlassian.jira.plugi...
]
Ryan Emerson commented on ISPN-11614:
-------------------------------------
Isolating the user and internal serialization contexts introduces a binary incompatibility
between Infinispan 11 and 12 stores, as previously user objects marshalled via protostream
were not wrapped in a `MarshallableUserObject` wrapper. To overcome this incompatibility,
it's necessary for existing Infinispan 11 stores to be converted on startup. Currently
there is no way of determining the version of Infinispan used to create Jdbc and RocksDB
store's, therefore we need to add this capability via
https://issues.redhat.com/browse/ISPN-12204 and
https://issues.redhat.com/browse/ISPN-12205.
PersistenceMarshaller should utilise an independent
SerializationContext for user types
---------------------------------------------------------------------------------------
Key: ISPN-11614
URL:
https://issues.redhat.com/browse/ISPN-11614
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 10.1.5.Final, 11.0.0.Dev03
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Priority: Major
If a user configures a SerializationContextInitializer it is currently registered to the
same SerializationContext as the persistent internal types. This means that it is possible
for a user to reference internal protobuf message types in their .proto files. We should
utilise a seperate SerializationContext to ensure that these types are truly indepdenent.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)