Dependencies:
- akka-persistence-experimental 2.3.0
- akka-actor 2.3.0
- akka-contrib 2.3.0

We are building large CQRS system utilizing Akka-persistence with cluster 
sharding in akka-contrib, 
deploying multiple EventsourcedProcessors distributed on several cluster 
nodes.  

As part of application resilience testing we are running the following test 
scenario:

- 2 akka nodes (node_1 and node_2) in 2 individual VMs deployed on 2 
separate servers
- bring the cluster up and let it acquiesce: first node_1 then node_2
- start generating event messages
- while under load, shut down one of the VMs - node_2 (non-seed node)
- observe cluster state: several in-process event messages being processed 
by the processor
on shut down VM are incomplete/unprocessed.  This is expected as result of 
VM crash.
- unprocessed events are not replayed while node_2 is down.
- restart node_2.  Expected to see unprocessed events to be replayed, but 
it does not happen.
- restart cluster in the same order as in original setup: first node_1, 
then node_2
- observe cluster state: unprocessed messages have been replayed

Questions:
1) should we expect that once node failure (processor failure) is detected 
by akka cluster
the unprocessed events will be replayed while the failed node (node_2) is 
still down?
2) if answer to 1) is NO, should we expect that unprocessed events will be 
replayed once
failed node (node_2) comes back online?
3) is there a difference in cluster behavior when the failed node is a seed 
node vs. non-seed
node?

Thanks in advance!
~g

-- 
>>>>>>>>>>      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 http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to