update command blocks and new cluster
This commit is contained in:
parent
c95ab4e695
commit
95adea59a0
1 changed files with 5 additions and 4 deletions
|
|
@ -15,7 +15,7 @@ services:
|
|||
- /docker/maria/init:/docker-entrypoint-initdb.d
|
||||
command:
|
||||
- mariadbd
|
||||
#- --wsrep-new-cluster
|
||||
- --wsrep-new-cluster
|
||||
- --wsrep-on=ON
|
||||
- --wsrep-provider=/usr/lib/galera/libgalera_smm.so
|
||||
- --wsrep-cluster-name=mgdev1
|
||||
|
|
@ -27,9 +27,10 @@ services:
|
|||
- --innodb-autoinc-lock-mode=2
|
||||
- --wsrep-sst-method=mariabackup
|
||||
- --wsrep-sst-auth=sstuser:${REPL_PASSWORD}
|
||||
# No manual weights needed anymore. Default weight=1 is perfect.
|
||||
- --wsrep-provider-options=pc.ignore_sb=true;pc.npvo=true
|
||||
|
||||
# FIX 1: Add this flag to stop LXC Segfaults
|
||||
- --innodb-use-native-aio=0
|
||||
# FIX 2: Quote the entire string and simplify options
|
||||
- "--wsrep-provider-options=pc.wait_prim=no"
|
||||
|
||||
################
|
||||
# Pass these through for the init script
|
||||
|
|
|
|||
Loading…
Reference in a new issue