[MCOL-4692] Remove global mutex lock in OAMCache facility. Created: 2021-04-22  Updated: 2021-11-10  Resolved: 2021-04-23

Status: Closed
Project: MariaDB ColumnStore
Component/s: ExeMgr, PrimProc
Affects Version/s: 5.5.2
Fix Version/s: 5.6.1

Type: Task Priority: Major
Reporter: Roman Assignee: Roman
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
PartOf
is part of MCOL-4593 Multiple concurrent queries with aggr... Stalled
Problem/Incident
causes MCOL-4920 The plugin code doesn't fetch the upd... Closed
Sprint: 2021-7

 Description   

oam/oamcpp/oamcache.cpp has a global mutex that can slow down execution b/c of lock contention, namely boost::mutex cacheLock.
The existing implementation of OAMCache can also re-read configuration file holding the lock from either disk or OS buffercache in certain conditions. I also remove this functionality to reduce the lock contention.



 Comments   
Comment by Roman [ 2021-04-23 ]

Closing it since there is nothing to test really. There must be no regression after the patch.

Generated at Thu Feb 08 02:52:16 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.