-
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
Fix Shard
failed to unwrap buffered messages correctly
#7452
base: dev
Are you sure you want to change the base?
Fix Shard
failed to unwrap buffered messages correctly
#7452
Conversation
Related: petabridge/phobos-issues#84 |
….com:Arkatufus/akka.net into Fix-Shard-failed-to-unwrap-buffered-messages
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.
Need to re-arrange the reproduction - don't do anything custom inside the HashCodeMessageExtractor
. Handle this in the Unapply
method instead.
{ | ||
return message switch | ||
{ | ||
Message m => m.Payload, |
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.
This is kind of testing the wrong thing here - the Unapply
method should be handling this.
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.
no its not, we're testing MyEnvelope
, that Message
class is the actual message being sent, not a string
.
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.
actually, you're right, there's something wrong with the repro code
Changes
Checklist
For significant changes, please ensure that the following have been completed (delete if not relevant):