[MDEV-24334] make monitor_set_tbl global variable thread-safe Created: 2020-12-02  Updated: 2020-12-03  Resolved: 2020-12-03

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB
Affects Version/s: 10.2, 10.3, 10.4, 10.5
Fix Version/s: 10.4.18, 10.5.9

Type: Bug Priority: Major
Reporter: Eugene Kosov (Inactive) Assignee: Eugene Kosov (Inactive)
Resolution: Fixed Votes: 0
Labels: tsan


 Description   

Make it std::atomic[] and use std::atomic::fetch_or() and std::atomic::fetch_and().


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