瀏覽代碼

Fix typo with the buffer_pool_size parameter

The buffer_pool_size parameter should be a integer value when followed
by a memory unit (eg '1024M', not '1024.1M'). Otherwise the MySQL
doesn't start properly.

Change-Id: I5dfad49a8e44a40ae87c5e8e0b033dcd73dc2837
pull/34/head
Simon Pasquier 7 年之前
父節點
當前提交
7a2010e8e9
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      galera/files/my.cnf

+ 1
- 1
galera/files/my.cnf 查看文件

@@ -39,7 +39,7 @@ query_cache_type=0
innodb_file_format=Barracuda
innodb_file_per_table=1
{%- if service.innodb_buffer_pool_size is not defined %}
{% set buffer_pool_size = '%.2fM'%(grains['mem_total']*0.35) %}
{% set buffer_pool_size = '%.0fM'%(grains['mem_total']*0.35) %}
{%- else %}
{% set buffer_pool_size = service.innodb_buffer_pool_size %}
{%- endif %}

Loading…
取消
儲存