Hi guys, I'm recently studying the source code of akka-cluster and there's something that I really cannot understand. Actually, I was trying to reproduce what akka-cluster document said "If system messages cannot be delivered to a node it will be quarantined and then it cannot come back from unreachable". So I've down these steps:
1. Create Actor A on node1, Actor B on node2; 2. Let A watch B; 3. Cut the wire between node1 and node2; 4. Let B send a user message, namely UMSG, to A; 5. Close B, and I've seen that Actor B tried to send a message with type DeathWatchNotification; 6. Reconnect node1 and node2, and the cluster "revived" with both nodes had changed state of each other from UNREACHABLE to UP; 7. ActorA immediately received Terminated message from ActorB, while it didn't receive the user message (UMSG, see Step4) from B. Here is my questions 1. DeathWatchNotification is also a kind of system message, and, which might not be true, it failed issuing to its watcher. According to the document mentioned above, the state of the node containing the watcher actor should have been put to DOWN, but it didn't. Why is this? Where can I find the code related to this behavior? 2. Who is the real actor that sends this Terminated system message? 3. I've noted that in akka-cluster both system message and user message are delivered in a same way using akka-remote. So why is UMSG dropped but Terminated received? Thanks for helping in advance Hangyu -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
