mariadb/mysql-test/suite/galera/t/galera_provider_options_long.cnf
Jan Lindström ca7e1a39b3 MDEV-36843 : Galera tests fail if wsrep_provider_options is too long (> 2k)
Galera provider options contains many options and several directory names and
file names that could lead situation where wsrep_provider_options string
is longer than 2k. Many tests set few new options required by test
and then restore wsrep_provider_options to original value. This restoring
wsrep_provider_options string to original value then fails because
of common limit for all charptr variables (2k).

Fix is to increase common limit for all charptr variables to 4kb.
2025-10-17 17:21:00 +03:00

11 lines
797 B
INI

!include ../galera_2nodes.cnf
[mysqld]
loose-galera-ssl-upgrade=1
wsrep-debug=1
[mysqld.1]
wsrep_provider_options='socket.ssl=yes;socket.ssl_cert=@ENV.MYSQL_TEST_DIR/std_data/galera-cert.pem;socket.ssl_key=@ENV.MYSQL_TEST_DIR/std_data/galera-key.pem;repl.causal_read_timeout=PT90S;base_port=@mysqld.1.#galera_port;evs.suspect_timeout=PT10S;evs.inactive_timeout=PT30S;evs.install_timeout=PT15S;pc.wait_prim_timeout=PT60S;gcache.size=10M'
[mysqld.2]
wsrep_provider_options='socket.ssl=yes;socket.ssl_cert=@ENV.MYSQL_TEST_DIR/std_data/galera-cert.pem;socket.ssl_key=@ENV.MYSQL_TEST_DIR/std_data/galera-key.pem;repl.causal_read_timeout=PT90S;base_port=@mysqld.2.#galera_port;evs.suspect_timeout=PT10S;evs.inactive_timeout=PT30S;evs.install_timeout=PT15S;pc.wait_prim_timeout=PT60S;gcache.size=10M'