From 95adea59a0d6af84f16ed30b05905a810e307910 Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 4 Feb 2026 22:40:32 -0700 Subject: [PATCH] update command blocks and new cluster --- lxc1/p0-infrastructure/mgdb.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lxc1/p0-infrastructure/mgdb.yml b/lxc1/p0-infrastructure/mgdb.yml index b8faa39..340c269 100644 --- a/lxc1/p0-infrastructure/mgdb.yml +++ b/lxc1/p0-infrastructure/mgdb.yml @@ -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