-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Implemented DeadLetterSupression #1847
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
Conversation
@alexvaluyskiy can you rebase on dev please? And please squash your commits per the contributors guidelines. Thx for effort! |
0f5a4ce
to
797fb37
Compare
@Danthar done |
797fb37
to
e3a5f76
Compare
The failing unit test is a race condition. i verified that it works locally. |
Ok, we have a a consistently failing MNTK spec. Akka.Remote.Tests.MultiNode.RemoteNodeRestartDeathWatchMultiNode1.Must_receive_terminated_when_remote_actor_system_is_restarted This needs to be investigated and fixed before this PR can be merged. |
Needs to be rebased :( |
Since alot of fixes has been made to the MNTK. Could you please rebase on the latest dev? Some of the issues reported in this thread might 'magically' fix themselves now ;) |
b504ee6
to
d8ea4da
Compare
Restarted test builds. Tests still failing. |
f5e5754
to
7f6d477
Compare
Throws a |
7f6d477
to
ef1a5e1
Compare
ef1a5e1
to
5092f93
Compare
@Aaronontheweb It throws NullReferenceException, because the new DeadLetter should not be created, if Sender is null. But gracefulStop send NoSender |
5092f93
to
b70039b
Compare
db12a06
to
99d440f
Compare
@alexvaluyskiy @Aaronontheweb Oh I found what caused this problem. Akka seems to keep sender not-null in packing a message into the
But Akka.NET doesn't do like this. It just packs a message into var m = new Envelope {
Sender = sender,
Message = message,
}; This looks like a fundamental difference and should be considered. |
@Aaronontheweb what do you think about last commit? |
@Horusiath this test "FSharp.Tests.ApiTests.actor that accepts unit will receive unit message" sends an empty message. But never versions of Akka Jvm forbid it, as @veblush mentioned before. How could we change this test? |
If nullish values are going to be explicitly forbidden, then that test is no longer needed. However this also means, that it's a breaking change and should be mentioned as that in release notes. |
934dac6
to
f761c30
Compare
f761c30
to
eb1cfca
Compare
Looks good!. Links back to: #2160 |
Implemented DeadLetterSupression
http://doc.akka.io/docs/akka/2.4.3/scala/event-bus.html#Dead_Letters