-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
config: remove txn-local-latches from config file #15765
Conversation
PTAL @jackysp |
@@ -77,7 +77,7 @@ type Config struct { | |||
MemQuotaQuery int64 `toml:"mem-quota-query" json:"mem-quota-query"` | |||
EnableStreaming bool `toml:"enable-streaming" json:"enable-streaming"` | |||
EnableBatchDML bool `toml:"enable-batch-dml" json:"enable-batch-dml"` | |||
TxnLocalLatches TxnLocalLatches `toml:"txn-local-latches" json:"txn-local-latches"` | |||
TxnLocalLatches TxnLocalLatches `toml:"-" json:"-"` |
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.
Will it make -config-check
fail? Maybe we need to add it to
Line 675 in 7a67ff4
func isAllDeprecatedConfigItems(items []string) bool { |
Codecov Report
@@ Coverage Diff @@
## master #15765 +/- ##
===========================================
Coverage 80.4465% 80.4465%
===========================================
Files 504 504
Lines 134692 134692
===========================================
Hits 108355 108355
Misses 17862 17862
Partials 8475 8475 |
LGTM |
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.
LGTM
/merge |
/run-all-tests |
@bobotu merge failed. |
/run-all-tests |
/run-unit-test |
/merge |
/run-all-tests |
@bobotu merge failed. |
/run-all-tests |
/merge |
/run-all-tests |
@bobotu merge failed. |
/merge |
/run-all-tests |
cherry pick to release-4.0 in PR #15792 |
/run-cherry-picker |
Signed-off-by: sre-bot <sre-bot@pingcap.com>
cherry pick to release-3.0 in PR #17079 |
Signed-off-by: sre-bot <sre-bot@pingcap.com>
cherry pick to release-3.1 in PR #17080 |
What problem does this PR solve?
The
txn-local-latches
may lack sufficient tests and not recommend to use for now.fix #15746
What is changed and how it works?
Omitting
txn-local-latches
when marshal/unmarshals config file and make it disabled by default.Tests