[MDEV-25458] More fixes for variable wsrep_on Created: 2021-04-20  Updated: 2021-04-20  Resolved: 2021-04-20

Status: Closed
Project: MariaDB Server
Component/s: Galera
Affects Version/s: 10.4
Fix Version/s: 10.4.19, 10.5.10

Type: Bug Priority: Major
Reporter: Jan Lindström (Inactive) Assignee: Jan Lindström (Inactive)
Resolution: Fixed Votes: 0
Labels: None


 Description   
  • Disallow setting wsrep_on = 1 if wsrep_provider is unset. Also, move
    wsrep_on_basic from sys_vars to wsrep suite: this test now requires
    to run with wsrep_provider set
  • Disallow setting @@session.wsrep_on = 1 when @@global.wsrep_on = 0
  • Handle the case where a new connection turns @@global.wsrep_on from
    off to on. In this case we would miss a call to wsrep_open, causing
    unexpected states in wsrep::client_state (causing assertions).
  • Disable wsrep.MDEV-22443 because it is no longer possible to enable
    wsrep_on, if server is started with wsrep_provider='none'


 Comments   
Comment by Jan Lindström (Inactive) [ 2021-04-20 ]

https://github.com/MariaDB/server/pull/1810

Generated at Thu Feb 08 09:37:51 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.