You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
MCOL-5487 Managed shmem segment access/remap race
There is a potential edge case when a thread remaps EM managed shmem segment in grabEMEntryTable() whilst another thread access the current shmem segment mapping in virtual memory
This commit is contained in:
@ -34,7 +34,7 @@
|
||||
#include <tr1/unordered_map>
|
||||
#include <mutex>
|
||||
|
||||
//#define NDEBUG
|
||||
// #define NDEBUG
|
||||
#include <cassert>
|
||||
#include <boost/functional/hash.hpp> //boost::hash
|
||||
#include <boost/interprocess/allocators/allocator.hpp>
|
||||
@ -253,7 +253,8 @@ class ExtentMapRBTreeImpl
|
||||
public:
|
||||
~ExtentMapRBTreeImpl() = default;
|
||||
|
||||
static ExtentMapRBTreeImpl* makeExtentMapRBTreeImpl(unsigned key, off_t size, bool readOnly = false);
|
||||
static ExtentMapRBTreeImpl* makeExtentMapRBTreeImpl(unsigned key, off_t size, bool readOnly, bool& emLocked,
|
||||
const MasterSegmentTable* emSegTable = nullptr);
|
||||
|
||||
static void refreshShm()
|
||||
{
|
||||
|
Reference in New Issue
Block a user