Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
config: disable local latch by default (#12068) #12095
cherry-pick #12068 to release-3.0
Signed-off-by: Shuaipeng Yu email@example.com
What problem does this PR solve?
The local latch has a large memory usage for TiDB when importing data. In addition, there is a problem of inconsistency in the error message of the write conflict. After TiDB 3.0 supported pessimistic transaction, its role in reducing conflicts was also weakened. So, it is best to turn it off by default.
What is changed and how it works?
Turn it off by default.