Skip to content

Commit

Permalink
config: disable local latch by default (#12095)
Browse files Browse the repository at this point in the history
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
  • Loading branch information
sre-bot authored and coocood committed Sep 9, 2019
1 parent eb62dae commit 7f41ed3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ var defaultConf = Config{
TreatOldVersionUTF8AsUTF8MB4: true,
SplitRegionMaxNum: 1000,
TxnLocalLatches: TxnLocalLatches{
Enabled: true,
Enabled: false,
Capacity: 2048000,
},
LowerCaseTableNames: 2,
Expand Down
2 changes: 1 addition & 1 deletion config/config.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ batch-wait-size = 8
[txn-local-latches]
# Enable local latches for transactions. Enable it when
# there are lots of conflicts between transactions.
enabled = true
enabled = false
capacity = 2048000

[binlog]
Expand Down

0 comments on commit 7f41ed3

Please sign in to comment.