From 20352eeb460574fe7a7d7dc3e08b907c7725b707 Mon Sep 17 00:00:00 2001 From: liubo Date: Tue, 10 Sep 2019 10:47:04 +0800 Subject: [PATCH 1/2] Update disk space check modle (#937) --- roles/check_system_dynamic/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/check_system_dynamic/tasks/main.yml b/roles/check_system_dynamic/tasks/main.yml index a27253004..d760d4e35 100644 --- a/roles/check_system_dynamic/tasks/main.yml +++ b/roles/check_system_dynamic/tasks/main.yml @@ -1,7 +1,7 @@ --- - name: Disk space check - Fail task when disk is full - raw: df -h . | tail -n1 + shell: df -h . | tail -n1 register: disk_space_st failed_when: " '100%' in disk_space_st.stdout " changed_when: false From 1f5c86c7eaa6eb1fac7bff39016c67b2f584f33f Mon Sep 17 00:00:00 2001 From: Jack Yu Date: Thu, 12 Sep 2019 17:29:17 +0800 Subject: [PATCH 2/2] conf: disable local latch by default (#936) * conf: disable local latch by default Signed-off-by: Shuaipeng Yu * address comments Signed-off-by: Shuaipeng Yu --- conf/tidb.yml | 2 +- roles/tidb/vars/default.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: 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: