Hi I have the following script that I don’t understand how to get a possible sequence:
At 13 would there be an optimistic concurrency error if we pass the aggregate version in the event?
, Message 1 new . ?
, . .
. concurrency .
CQRS , . , , , .
Blair
, . , . -, , , . TCP 1981 http://www.ietf.org/rfc/rfc793.txt:)
. , ( ). , , . , .
/:
, , 2 . , . . , , , , 2 ( ) ---:)
, , .
, , concurrency - . , , , . .
, , /.
. ChangeAddressCommand LastAddressChange, , .
ChangeAddressCommand
LastAddressChange
NServiceBus . OP IBus.HandleCurrentMessageLater() , . , , , .
saga, , , . , BC. , 1 2 . , , 2. 2 3 , , 3. NServiceBus BC 2 1, , 1 , , 2. , . 1 1, 2 . , .
According to this , you should ask yourself:
What is the impact of business on failure?
In your current case, you have this problem once per million requests. I do not think that this would have a huge impact on the business if you accepted both requests as valid.