From b085b6655bad2f705572b42d21111c50c5b92552 Mon Sep 17 00:00:00 2001 From: Shuaipeng Yu Date: Sat, 7 Sep 2019 11:22:58 +0800 Subject: [PATCH 1/2] conf: disable local latch by default Signed-off-by: Shuaipeng Yu --- conf/tidb.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/tidb.yml b/conf/tidb.yml index 8024f9d6a..8c33b1851 100644 --- a/conf/tidb.yml +++ b/conf/tidb.yml @@ -226,7 +226,7 @@ tikv_client: 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: From 477d80b29fd3146972061aff26243bfca98ac0f4 Mon Sep 17 00:00:00 2001 From: Shuaipeng Yu Date: Thu, 12 Sep 2019 14:43:12 +0800 Subject: [PATCH 2/2] address comments Signed-off-by: Shuaipeng Yu --- roles/tidb/vars/default.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/tidb/vars/default.yml b/roles/tidb/vars/default.yml index b945c7b95..bb61a3944 100644 --- a/roles/tidb/vars/default.yml +++ b/roles/tidb/vars/default.yml @@ -244,7 +244,7 @@ tikv_client: 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: