-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Open
Labels
sig/transactionSIG:TransactionSIG:Transactiontype/enhancementThe issue or PR belongs to an enhancement.The issue or PR belongs to an enhancement.
Description
Development Task
After #21483, we'll try to lock all the related unique keys for pessimistic transactions if the executor is pointGet or batchPointGet. For other coprocessor related executors, we should also implement this for them, and make the lock behaviours consistent.
Tasks are:
- Try to lock all unique keys for existing data for all executors, make them behave the same.
- Make a detailed and improved document about the pessimistic lock behaviours of TiDB.
Another possible solution is to push down the pessimistic lock operations into the kv requests doing data read, the difference behaviours could be resolved, check rfc for more details.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
sig/transactionSIG:TransactionSIG:Transactiontype/enhancementThe issue or PR belongs to an enhancement.The issue or PR belongs to an enhancement.