原书出处
Software Architecture and Decision-Making
07 保持状态一致
Here, we read the item count, and the next operation depends on this. Consider that there are two transactions happening, and both have read the item count. If the first transaction checks the condition and updates the item count to zero, to enforce the isolation condition of transactions, the database must roll back the second transaction.
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Software Architecture and Decision-Making Leveraging Leadership, Technology, and Product Management to Build Great Products… (Srinath Perera)/_epub-src/ch07.xhtml
EPUB SHA-256:8c8802b415c29832cccbf90314dabab6c2ebdd70704f0cbc9393aed1513be1f5