| Interface | Description |
|---|---|
| AbstractLockResolverClient |
| Class | Description |
|---|---|
| KVClient | |
| 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 | |
| TTLManager |
see funcionts `keepAlive` `close` `sendTxnHeartBeat` in
https://github.com/pingcap/tidb/blob/master/store/tikv/2pc.go
|
| TwoPhaseCommitter | |
| TxnExpireTime | |
| TxnKVClient |
KV client of transaction APIs for GET/PUT/DELETE/SCAN
|
| TxnStatus |
Copyright © 2025 PingCAP. All rights reserved.