Skip to content

Commit 7f41ed3

Browse files
sre-botcoocood
authored andcommitted
config: disable local latch by default (#12095)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
1 parent eb62dae commit 7f41ed3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ var defaultConf = Config{
324324
TreatOldVersionUTF8AsUTF8MB4: true,
325325
SplitRegionMaxNum: 1000,
326326
TxnLocalLatches: TxnLocalLatches{
327-
Enabled: true,
327+
Enabled: false,
328328
Capacity: 2048000,
329329
},
330330
LowerCaseTableNames: 2,

config/config.toml.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ batch-wait-size = 8
270270
[txn-local-latches]
271271
# Enable local latches for transactions. Enable it when
272272
# there are lots of conflicts between transactions.
273-
enabled = true
273+
enabled = false
274274
capacity = 2048000
275275

276276
[binlog]

0 commit comments

Comments
 (0)