pingcap / pingcap/tidb

Transation-related refactoring

Open
#42,797 0 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement
The code associated with transactions has become challenging to comprehend and maintain. As new features are added, ensuring correctness has become increasingly difficult. It is necessary to simplify certain structures in order to reduce the cognitive load required to reason about them.

- https://github.com/pingcap/tidb/issues/41098
- https://github.com/tikv/tikv/issues/14269
- Refactor constraint check mechanism
- Explore the feasibility of the fusion of optimistic and pessimistic transactions

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.