Read-Modify-Write isolation in NoSQL, part 2: When the invariant spans multiple aggregates.

In part 1 we saw the single-document case, where optimistic locking saves you with a simple version field. Now we cross the line that…