New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
txn, session: Rename Aggressive Locking to Fair Locking and enable by default for new clusters #42108
txn, session: Rename Aggressive Locking to Fair Locking and enable by default for new clusters #42108
Conversation
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
Skipping CI for Draft Pull Request. |
/test all |
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
/test all |
/test unit-test |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: c7aa063
|
/hold |
/unhold |
/merge |
/build |
/rebuild |
/test build |
1 similar comment
/test build |
/test unit-test |
What problem does this PR solve?
Issue Number: ref #42107 , close #42147
Problem Summary:
This PR does the following changes:
tidb_pessimistic_txn_fair_locking
by default for new clusters, but clusters upgraded from older version will still have this option disabled.tidb_pessimistic_txn_fair_locking
globally enabled.The term Aggressive Locking is also used in client-go which is not updated for now, thus the old term still occurs in code that references to client-go. We will also rename it in client-go later.
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.