1
0
mirror of synced 2025-02-09 00:39:25 +03:00
This commit is contained in:
Benjamin Morel 2018-08-28 14:56:01 +02:00 committed by GitHub
parent 32efbd3edd
commit 2779b5ee91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -322,7 +322,7 @@ The aggregate field ``Account::$balance`` is now -200, however the
SUM over all entries amounts yields -400. A violation of our max
credit rule.
You can use both optimistic or pessimistic locking to save-guard
You can use both optimistic or pessimistic locking to safe-guard
your aggregate fields against this kind of race-conditions. Reading
Eric Evans DDD carefully he mentions that the "Aggregate Root"
(Account in our example) needs a locking mechanism.