← 返回卡片

原书出处

Software Architecture and Decision-Making

07 保持状态一致

核验版本的摘录快照 · 导入于 2026-11-14T08:32:00.346Z

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