-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Akka.Cluster.DistributedData #2261
Conversation
e7145fc
to
66ba8da
Compare
All tests pass locally. Once our CI will prove that, it should be safe to merge. Remaining work, that still needs to be done, but as we're not going to publish that package yet, we can do it in a separate PRs:
|
66ba8da
to
105eddc
Compare
Need to approve the API changes made to Akka.Cluster. |
20a113b
to
29dfcfd
Compare
I don't know why it broke on the MNTK specs. @Aaronontheweb could you verify? |
29dfcfd
to
8eb6044
Compare
Will you plan to create tests for protobuf serializer? Like this: https://github.com/akkadotnet/akka.net/blob/dev/src/contrib/cluster/Akka.Cluster.Sharding.Tests/ClusterShardingMessageSerializerSpec.cs |
It would be better to make all protobuff serializer classes as internal |
I need to make sure, that JVM protobuf definitions can be used here. JVM version of replicated collection assumes, that all dictionaries use string keys. I've assumed, that they may be generic. Also bruinbrown introduced collection keys, which are generic types - I don't know how protobuf will behave in this situation. Those were the reasons, why I opted to use Wire instead. |
8eb6044
to
52bd52b
Compare
UPDATE: I've implemented serialization specs - they pass under Wire akka serializer. My proposition is to stay with that, and if necessary (and it may be necessary, as custom serializer provided compression and optimizations), make custom serializer based on Wire anyway. |
c123104
to
ee69fb1
Compare
ee69fb1
to
fc7ffe8
Compare
fc7ffe8
to
aebffd0
Compare
aebffd0
to
c6b8709
Compare
UPDATE: I've fixed failing tests and added |
0e5ed37
to
d2b0d19
Compare
9e92217
to
06228dc
Compare
06228dc
to
fa99b55
Compare
Nice work @Horusiath ! |
This PR includes @bruinbrown work on ddata module with code updated by me. Basically the core module is ported - not sure if I didn't miss something, I was sitting late on that yesterday - missing part I'm going to work on is test suite (especially multinode).
NOTE: originally ddata messages use protobuf for serialization, however I've found out that we use some generics there and originally we used reflection to make serialization possible. I've erased generic types where I could, however I think, Wire would be a better choice here. @akkadotnet/core aggree?
Status: