-
Notifications
You must be signed in to change notification settings - Fork 696
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
tikv: change default value for pessimistic-txn.pipelined #5172
Conversation
Signed-off-by: you06 <[email protected]>
/label needs-cherry-pick-5.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rest LGTM
tikv-configuration-file.md
Outdated
@@ -1294,4 +1294,4 @@ For pessimistic transaction usage, refer to [TiDB Pessimistic Transaction Mode]( | |||
|
|||
This configuration item enables the pipelined process of adding the pessimistic lock. With this feature enabled, after detecting that data can be locked, TiKV immediately notifies TiDB to execute the subsequent requests and write the pessimistic lock asynchronously, which reduces most of the latency and significantly improves the performance of pessimistic transactions. But there is a still low probability that the asynchronous write of the pessimistic lock fails, which might cause the failure of pessimistic transaction commits. | |||
|
|||
The default value of `pipelined` is `false`. | |||
The default value of `pipelined` is `true`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default value of `pipelined` is `true`. | |
- Default value: `true`. |
How about following the same format of other configurations?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I make the description of pipelined the same format as others.
Signed-off-by: you06 <[email protected]>
/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: 5422b5b
|
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-5.0 in PR #5183 |
/remove-translation doing |
What is changed, added or deleted? (Required)
tikv/tikv#8499 changed the default value for
pessimistic-txn.pipelined
, this PR documents it.Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
tikv/tikv#8499
Do your changes match any of the following descriptions?