Commit d002ec2c authored by Jan Lindström's avatar Jan Lindström

MDEV-21489 : wsrep_cluster_conf_id has wrong value

Variable was not updated after initialization.
parent 7f03a933
connection node_2;
connection node_1;
connection node_1;
show status like 'wsrep_cluster_conf_id';
Variable_name Value
wsrep_cluster_conf_id 2
connection node_2;
show status like 'wsrep_cluster_conf_id';
Variable_name Value
wsrep_cluster_conf_id 2
--source include/galera_cluster.inc
--connection node_1
show status like 'wsrep_cluster_conf_id';
--connection node_2
show status like 'wsrep_cluster_conf_id';
......@@ -201,6 +201,7 @@ void Wsrep_server_service::log_view(
wsrep_update_cluster_state_uuid(os.str().c_str());
mysql_mutex_unlock(&LOCK_status);
wsrep_config_state->set(view);
wsrep_cluster_conf_id= view.view_seqno().get();
if (view.status() == wsrep::view::primary)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment