Skip to content
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

Merged
merged 13 commits into from
Jul 12, 2019

Conversation

Aaronontheweb
Copy link
Member

No description provided.

@Aaronontheweb Aaronontheweb marked this pull request as ready for review June 26, 2019 23:20
@Aaronontheweb
Copy link
Member Author

This is ready to go - will fix #3830

Copy link
Contributor

@Horusiath Horusiath left a 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) },
Copy link
Contributor

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.

Copy link
Member Author

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.

@Aaronontheweb
Copy link
Member Author

Addressed comments

@Aaronontheweb Aaronontheweb merged commit 04a5eb2 into akkadotnet:dev Jul 12, 2019
@Aaronontheweb Aaronontheweb deleted the 3830-ShardingStats-fix branch July 12, 2019 14:34
madmonkey pushed a commit to madmonkey/akka.net that referenced this pull request Jul 12, 2019
* close akkadotnet#3830 - added serialization support for ClusterShardingStats
Aaronontheweb added a commit to Aaronontheweb/akka.net that referenced this pull request Jul 21, 2019
* close akkadotnet#3830 - added serialization support for ClusterShardingStats
Aaronontheweb added a commit to Aaronontheweb/akka.net that referenced this pull request Jul 26, 2019
* close akkadotnet#3830 - added serialization support for ClusterShardingStats
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants