New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Protostream the default marshaller for user types #7302
Conversation
38db4b7
to
eb6fdcc
Compare
commons/src/main/java/org/infinispan/commons/marshall/ProtoStreamTypeIds.java
Outdated
Show resolved
Hide resolved
9b7a6d4
to
dfbd6ed
Compare
dfbd6ed
to
d757551
Compare
run custom performance tests please |
Performance tests didn't finish successfully. @diegolovison, can you review it? Additional info: |
d757551
to
0560a3f
Compare
Protostream 4.3.0.Alpha12 is now released! |
907b017
to
69b7163
Compare
On hold as I will remove the notion of the user marshaller in this PR. |
|
@anistor See the discussion on #marshalling and this week's meeting for more details. But in summary, the idea is that if you want those things for embedded mode then you should use |
dc07713
to
eba2281
Compare
b5a6a67
to
7247eaa
Compare
My concern is about actually storing in cache java objects as objects, without using any protobuf at all (for reasons related to hibernate search indexing). Does withEncoding offer that or just sugar coats a byte[]? I'm not familiar with the latest status in this area. |
ff4d905
to
705bedd
Compare
@anistor The ability to configure a user marshaller is in place again, so this PR is good to go from my POV. |
ceb0dc3
to
5506702
Compare
...rshalling/src/main/java/org/infinispan/jboss/marshalling/commons/GenericJBossMarshaller.java
Outdated
Show resolved
Hide resolved
core/src/main/java/org/infinispan/configuration/cache/CacheMode.java
Outdated
Show resolved
Hide resolved
core/src/main/java/org/infinispan/configuration/global/SerializationConfigurationBuilder.java
Outdated
Show resolved
Hide resolved
I've added some comments, that are very easy fixes. I'm happy with it and it LVVVGTM :) |
5506702
to
68f0f02
Compare
Updated, thanks for the review @anistor |
...rshalling/src/main/java/org/infinispan/jboss/marshalling/commons/GenericJBossMarshaller.java
Outdated
Show resolved
Hide resolved
...rshalling/src/main/java/org/infinispan/jboss/marshalling/commons/GenericJBossMarshaller.java
Outdated
Show resolved
Hide resolved
68f0f02
to
da0dd3a
Compare
LGTM. Let's wait for another round of CI. |
@anistor CI is good 🙂 |
merged. thanks @ryanemerson ! |
https://issues.jboss.org/browse/ISPN-10591
Builds upon the commits in #7264, which should be merged first.