diff --git a/conf/tidb.yml b/conf/tidb.yml index 584c23463..5cfa2e45d 100644 --- a/conf/tidb.yml +++ b/conf/tidb.yml @@ -15,7 +15,7 @@ global: # Only print a log when out of memory quota. # Valid options: ["log", "cancel"] - # oom-action: "log" + # oom-action: "cancel" # Set the memory quota for a query in bytes. Default: 32GB # mem-quota-query: 34359738368 diff --git a/roles/tidb/vars/default.yml b/roles/tidb/vars/default.yml index 56edbef30..5d279da1e 100644 --- a/roles/tidb/vars/default.yml +++ b/roles/tidb/vars/default.yml @@ -27,7 +27,7 @@ global: # Only print a log when out of memory quota. # Valid options: ["log", "cancel"] - oom-action: "log" + oom-action: "cancel" # Set the memory quota for a query in bytes. Default: 32GB # mem-quota-query: 34359738368