-
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
ShardStats and ClusterShardingStats serialization fix #3832
ShardStats and ClusterShardingStats serialization fix #3832
Conversation
This is ready to go - will fix #3830 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments - nothing really important, but this IEquatable<>
would be nice to keep things consistent across solution.
{EntityStateManifest, EntityStateFromBinary}, | ||
{EntityStartedManifest, EntityStartedFromBinary}, | ||
{EntityStoppedManifest, EntityStoppedFromBinary}, | ||
{EntityStateManifest, bytes => EntityStateFromBinary(bytes) }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer using method straight away instead of lambda syntax - I don't know it lambda syntax will trigger generation of hidden class representing it, but this way I'm sure I don't give a compiler reasons to think it should try so.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The existing serializer does a mix of both already and these messages aren't sent very often.
src/contrib/cluster/Akka.Cluster.Sharding/Serialization/ClusterShardingMessageSerializer.cs
Outdated
Show resolved
Hide resolved
src/contrib/cluster/Akka.Cluster.Sharding/Serialization/ClusterShardingMessageSerializer.cs
Show resolved
Hide resolved
Addressed comments |
* close akkadotnet#3830 - added serialization support for ClusterShardingStats
* close akkadotnet#3830 - added serialization support for ClusterShardingStats
* close akkadotnet#3830 - added serialization support for ClusterShardingStats
No description provided.