5 ms·
They say that the `deposit` call is placed in `other`s mailbox. As long as the mailbox is preserved between restarts, then there is no danger of the money disap
by syrrim 6y ago
They say that the `deposit` call is placed in `other`s mailbox. As long as the mailbox is preserved between restarts, then there is no danger of the money disappearing. The money will temporarily be unavailable - that is, in neither account's balance. But the money is still somewhere, in the mailbox.
- gpderetta 6y agoA crash between updating balance and putting the message in the mailbox can still result in an inconsistent state.