mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
On wsrep_cluster_address update, node restarts the replication and attempts to connect to the new address. In this process it makes a call to wsrep provider's connect API, which could lead to segfault if wsrep provider is not loaded (wsrep_on=OFF). Fixed by making sure that it proceeds only if a provider is loaded.
12 lines
264 B
Plaintext
12 lines
264 B
Plaintext
#
|
|
# MDEV-10186: mysqld crash when runtime setting
|
|
# wsrep_cluster_address without wsrep_on=ON
|
|
#
|
|
SELECT @@wsrep_on;
|
|
@@wsrep_on
|
|
0
|
|
SELECT @@GLOBAL.wsrep_provider;
|
|
@@GLOBAL.wsrep_provider
|
|
/usr/lib/galera/libgalera_smm.so
|
|
SET @@GLOBAL.wsrep_cluster_address='gcomm://';
|