Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[percona_cluster] Set wsrep_provider_options in the config #7566

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion global/percona_cluster/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: percona_cluster
version: 1.1.8
version: 1.1.9
appVersion: 5.7.19
description: free, fully compatible, enhanced, open source drop-in replacement for
MySQL with Galera Replication (xtradb)
Expand Down
4 changes: 2 additions & 2 deletions global/percona_cluster/templates/bin/_backup.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -o xtrace
LIB_PATH='/usr/lib/pxc'
. ${LIB_PATH}/vault.sh

GARBD_OPTS=""
GARBD_OPTS="gmcast.peer_timeout=PT15S"
SOCAT_OPTS="TCP-LISTEN:4444,reuseaddr,retry=30"
SST_INFO_NAME=sst_info

Expand Down Expand Up @@ -148,7 +148,7 @@ function backup_s3() {
xbstream -C /tmp -c ${SST_INFO_NAME} \
| xbcloud put --storage=s3 --parallel=10 --md5 --s3-bucket="$S3_BUCKET" "$S3_BUCKET_PATH.$SST_INFO_NAME" 2>&1 |
(grep -v "error: http request failed: Couldn't resolve host name" || exit 1)

socat -u "$SOCAT_OPTS" stdio |
xbcloud put --storage=s3 --parallel=10 --md5 --s3-bucket="$S3_BUCKET" "$S3_BUCKET_PATH" 2>&1 |
(grep -v "error: http request failed: Couldn't resolve host name" || exit 1)
Expand Down
4 changes: 2 additions & 2 deletions global/percona_cluster/templates/bin/_entrypoint.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ start_as_primary () {
--wsrep_cluster_address="gcomm://" --wsrep_sst_method=xtrabackup-v2 \
--wsrep_sst_auth="xtrabackup:$XTRABACKUP_PASSWORD" \
--wsrep_node_address="$ipaddr" --pxc_strict_mode="$PXC_STRICT_MODE" \
--wsrep_provider_options="evs.send_window=128;evs.user_send_window=128;gmcast.segment=$gmcast_segment" \
--wsrep_provider_options="evs.send_window=128;evs.user_send_window=128;gmcast.segment=$gmcast_segment;gmcast.peer_timeout=PT15S" \
--log-bin=$hostname-bin $CMDARG \
--skip-name-resolve
}
Expand Down Expand Up @@ -66,7 +66,7 @@ exec mysqld --user=mysql --wsrep_cluster_name=$SHORT_CLUSTER_NAME --wsrep_node_n
--wsrep_cluster_address="gcomm://{{ include "helm-toolkit.utils.joinListWithComma" $cluster_ips }}" --wsrep_sst_method=xtrabackup-v2 \
--wsrep_sst_auth="xtrabackup:$XTRABACKUP_PASSWORD" \
--wsrep_node_address="$ipaddr" --pxc_strict_mode="$PXC_STRICT_MODE" \
--wsrep_provider_options="evs.send_window=128;evs.user_send_window=128;gmcast.segment=$gmcast_segment" \
--wsrep_provider_options="evs.send_window=128;evs.user_send_window=128;gmcast.segment=$gmcast_segment;gmcast.peer_timeout=PT15S" \
--log-bin=$hostname-bin $CMDARG \
--skip-name-resolve

Expand Down
Loading