[MDEV-8834] Galera: Able to write to database when read_only is ON Created: 2015-09-23  Updated: 2015-09-23  Resolved: 2015-09-23

Status: Closed
Project: MariaDB Server
Component/s: wsrep
Affects Version/s: 10.0.21-galera, 5.5.45-galera
Fix Version/s: 5.5.46-galera, 10.0.22-galera

Type: Bug Priority: Major
Reporter: Nirbhay Choubey (Inactive) Assignee: Nirbhay Choubey (Inactive)
Resolution: Fixed Votes: 0
Labels: galera


 Description   

There's a function in galera branches wsrep_read_only_option() that improperly
modifies the global opt_readonly variable which could lead to race.



 Comments   
Comment by Nirbhay Choubey (Inactive) [ 2015-09-23 ]

https://github.com/MariaDB/server/commit/d54bc3c0d1ed50b3c5aa3a22b2cb653851315e8a

Generated at Thu Feb 08 07:30:08 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.