-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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: fix 'PessimisticTxn' config JSON key #10820
Conversation
Signed-off-by: Lonng <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #10820 +/- ##
================================================
+ Coverage 80.2889% 80.2901% +0.0011%
================================================
Files 417 417
Lines 88453 88453
================================================
+ Hits 71018 71019 +1
+ Misses 12231 12226 -5
- Partials 5204 5208 +4 |
Codecov Report
@@ Coverage Diff @@
## master #10820 +/- ##
================================================
- Coverage 80.2878% 80.2776% -0.0102%
================================================
Files 417 417
Lines 88453 88453
================================================
- Hits 71017 71008 -9
- Misses 12230 12238 +8
- Partials 5206 5207 +1 |
@coocood PTAL |
/run-all-tests |
@@ -82,7 +82,7 @@ type Config struct { | |||
Binlog Binlog `toml:"binlog" json:"binlog"` | |||
CompatibleKillQuery bool `toml:"compatible-kill-query" json:"compatible-kill-query"` | |||
Plugin Plugin `toml:"plugin" json:"plugin"` | |||
PessimisticTxn PessimisticTxn `toml:"pessimistic-txn" json:"pessimistic_txn"` | |||
PessimisticTxn PessimisticTxn `toml:"pessimistic-txn" json:"pessimistic-txn"` |
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.
Could we add test for it?
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.
OK, I will add some tests later.
/run-unit-test |
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
Signed-off-by: Lonng <[email protected]>
Signed-off-by: Lonng [email protected]
What problem does this PR solve?
This PR fix 'PessimisticTxn' config JSON key