| 接口 | 说明 |
|---|---|
| AbstractLockResolverClient |
| 类 | 说明 |
|---|---|
| AsyncResolveData | |
| Lock | |
| LockResolverClientV2 |
Before v3.0.5 TiDB uses the ttl on secondary lock.
|
| LockResolverClientV3 |
Since v3.0.5 TiDB ignores the ttl on secondary lock and will use the ttl on primary key.
|
| LockResolverClientV4 |
Since v4.0.0 TiDB write will not block read (update MinCommitTS).
|
| ResolveLockResult | |
| TxnExpireTime | |
| TxnKVClient |
KV client of transaction APIs for GET/PUT/DELETE/SCAN
|
| TxnStatus |
ttl > 0: lock is not resolved
ttl = 0 && commitTS = 0: lock is deleted
ttl = 0 && commitTS > 0: lock is committed
|
Copyright © 2022 PingCAP. All rights reserved.