diff --git a/config/config.go b/config/config.go index 8aa5add1583a4..60777222a941b 100644 --- a/config/config.go +++ b/config/config.go @@ -324,7 +324,7 @@ var defaultConf = Config{ TreatOldVersionUTF8AsUTF8MB4: true, SplitRegionMaxNum: 1000, TxnLocalLatches: TxnLocalLatches{ - Enabled: true, + Enabled: false, Capacity: 2048000, }, LowerCaseTableNames: 2, diff --git a/config/config.toml.example b/config/config.toml.example index b2016f95d1e29..7a090b9ce2d3a 100644 --- a/config/config.toml.example +++ b/config/config.toml.example @@ -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]