-
Notifications
You must be signed in to change notification settings - Fork 680
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
Add declaration for scopes of transaction related variables and configurations #5056
Conversation
/label needs-cherry-pick-5.0 |
/translation from-docs-cn |
/label needs-cherry-pick-3.0 |
/label needs-cherry-pick-3.1 |
/label needs-cherry-pick-4.0 |
/cc TomShawn |
/lgtm |
/cc @CharLotteiu |
/lgtm |
[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 writing |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: cf43a29
|
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-3.0 in PR #5057 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-3.1 in PR #5058 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-4.0 in PR #5059 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-5.0 in PR #5060 |
First-time contributors' checklist
What is changed, added or deleted? (Required)
There are 3 variables and configurations to control the retrial of transactions:
Optimistic transactions:
tidb_disable_txn_auto_retry
andtidb_retry_limit
.Pessimistic transactions:
max-retry-count
.Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?