Skip to content

Commit

Permalink
config: disable local latches for transaction as default (pingcap#6930)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreMouche authored and tiancaiamao committed Jun 28, 2018
1 parent c5524cb commit 4253087
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ var defaultConf = Config{
MemQuotaQuery: 32 << 30,
EnableStreaming: false,
TxnLocalLatches: TxnLocalLatches{
Enabled: true,
Capacity: 1024000,
Enabled: false,
Capacity: 10240000,
},
LowerCaseTableNames: 2,
Log: Log{
Expand Down
4 changes: 2 additions & 2 deletions config/config.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@ commit-timeout = "41s"
[txn-local-latches]
# Enable local latches for transactions. Enable it when
# there are lots of conflicts between transactions.
enabled = true
capacity = 1024000
enabled = false
capacity = 10240000

[binlog]

Expand Down

0 comments on commit 4253087

Please sign in to comment.