标签:tsm his idt 并发 each current nbsp gen sts
乐观锁是基于比较的无锁并发控制机制。
CAS
mvcc
The general idea is this:
Each table you want to implement concurrent access to need a new column: Version
. This column is usually an integer or a timestamp. Every time a record in the table changes, its version changes with it.
https://enterprisecraftsmanship.com/posts/optimistic-locking-automatic-retry/
标签:tsm his idt 并发 each current nbsp gen sts
原文地址:https://www.cnblogs.com/feng9exe/p/12162725.html