-
Notifications
You must be signed in to change notification settings - Fork 1
Description
We specify a CommandSource to be a unique identifier for an event.
However, that's not the case: In #306, we have examples of the same CommandSource (called "correlation id" there) being used in several events.
We mention such an example in the spec:
Assume client 1 sends a deleteChild command to delete node X, and then client 2 sends a setProperty command on node X.
...
Repository B keeps an internal "trash can" of all deleted nodes. It deletes node X on the first command, but resurrects node X on the second command and changes the property as requested. It first emits achildDeletedevent (correlated to the first command), but laterchildAddedandpropertyChangedevents (both correlated to the second command).
Each event does have an EventSequenceNumber that's unique per participation, so each client can identify an event.
Do we need to identify events across participations?