change gcomm to var

This commit is contained in:
admin 2026-02-03 07:34:04 -07:00
parent a5be48c980
commit 12176caa75

View file

@ -18,7 +18,7 @@ services:
- --wsrep-provider=/usr/lib/galera/libgalera_smm.so - --wsrep-provider=/usr/lib/galera/libgalera_smm.so
- --wsrep-cluster-name=${CLUSTER_NAME} - --wsrep-cluster-name=${CLUSTER_NAME}
# ?pc.wait_prim=no tells the process not to hang if it can't find a leader immediately # ?pc.wait_prim=no tells the process not to hang if it can't find a leader immediately
- --wsrep-cluster-address=gcomm://${CLUSTER_LOCAL_IP},${CLUSTER_REMOTE_IP}?pc.wait_prim=no - --wsrep-cluster-address=${WSREP_GCOMM}
- --wsrep-node-address=${CLUSTER_KEEPALIVED_IP} - --wsrep-node-address=${CLUSTER_KEEPALIVED_IP}
- --wsrep-node-name=node${MGDB_NODE_NUMBER} - --wsrep-node-name=node${MGDB_NODE_NUMBER}
- --binlog-format=row - --binlog-format=row
@ -26,4 +26,4 @@ services:
- --innodb-autoinc-lock-mode=2 - --innodb-autoinc-lock-mode=2
- --bind-address=0.0.0.0 - --bind-address=0.0.0.0
# pc.ignore_sb=true is the key for 2-node clusters to avoid deadlocks # pc.ignore_sb=true is the key for 2-node clusters to avoid deadlocks
- --wsrep-provider-options=pc.ignore_sb=true;pc.npvo=true - --wsrep-provider-options=pc.ignore_sb=true;pc.npvo=true;pc.weight=${MARIA_PC_WEIGHT}