Set cluster_mysql_servers_sync_algorithm=3 in test_cluster_sync replica config

The replica used the default algorithm (1) which syncs runtime
mysql_servers — including monitor-shunned status. The test checks
the config table (mysql_servers) for status='ONLINE', but the
runtime sync overwrites the config table with SHUNNED status.

With auto_select (3) and monitor enabled (-M flag), the replica
uses mysql_servers_v2 sync which preserves the configured status.
v3.0-ci260323
Rene Cannao 2 months ago
parent 0fa1b53709
commit 72a1c5dd4a

@ -17,6 +17,7 @@ admin_variables=
cluster_mysql_users_diffs_before_sync=3
cluster_admin_variables_diffs_before_sync=3
cluster_proxysql_servers_diffs_before_sync=3
cluster_mysql_servers_sync_algorithm=3
cluster_sync_interfaces=false
}

Loading…
Cancel
Save