2.4. Expected revision
expected_revision is optional; it guards against concurrent writers: the event is stored only if its key has exactly that many events. A new key has 0. On the folio:
Event sent | Answer | Claim |
|---|---|---|
| accepted | |
a charge expecting revision 1, after | accepted | |
a charge expecting revision 1, after | rejected: the revision is 2 |