Browse Source

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 years ago
parent
commit
7a2010e8e9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      galera/files/my.cnf

+ 1
- 1
galera/files/my.cnf View File

@@ -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…
Cancel
Save