...
CoordinatorService also needs refactoring: Details.
3. Atomic Distributed State Change:
...
This describes, at a high level, the possible cases and the work to be done in each of the cases. A detailed discussion of the exact division of work between rpc thread and replay thread will be done in Coordinator Refactoring.
Order of execution on recovery:
...