1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

fix(BRM): MCOL-5879 DBRM::clearShm runs crit sections w/o sync mechanism (#3391)

This commit is contained in:
drrtuy
2025-02-20 16:33:44 +00:00
committed by GitHub
parent 88e80c1542
commit d5dcae52cb
6 changed files with 29 additions and 24 deletions

View File

@ -101,11 +101,11 @@ class DBRM
EXPORT DBRM(bool noBRMFcns = false);
EXPORT ~DBRM();
EXPORT static void refreshShm()
static void refreshShmWithLock()
{
MasterSegmentTableImpl::refreshShm();
ExtentMapRBTreeImpl::refreshShm();
FreeListImpl::refreshShm();
MasterSegmentTableImpl::refreshShmWithLock();
ExtentMapRBTreeImpl::refreshShmWithLock();
FreeListImpl::refreshShmWithLock();
}
// @bug 1055+ - Added functions below for multiple files per OID enhancement.