Pārlūkot izejas kodu

Fixing galera cluster size = 1 restart issue.

Galera should start normaly after reboot

Change-Id: I4f1bfb0f0ba8ef4f18bc89e8cf2bc6870a2278a2
master
Dzmitry Stremkouski pirms 6 gadiem
vecāks
revīzija
fd31960684
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. +4
    -0
      galera/files/my.cnf

+ 4
- 0
galera/files/my.cnf Parādīt failu

@@ -61,7 +61,11 @@ innodb_flush_method=O_DIRECT
innodb_doublewrite=0
innodb_autoinc_lock_mode=2
innodb_locks_unsafe_for_binlog=1
{%- if service.members|length > 1 %}
wsrep_cluster_address="gcomm://{% for member in service.members %}{{ member.host}}:4567{% if not loop.last %},{% endif %}{% endfor %}/?pc.wait_prim=no"
{%- else %}
wsrep_cluster_address="gcomm://"
{%- endif %}
wsrep_provider={{ service.wsrep_provider }}
wsrep_cluster_name="openstack"


Notiek ielāde…
Atcelt
Saglabāt