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

fix(extent-map): MCOL-5559 This patch extends the scope of the crit section to cover remap operation to avoid access races running EMIndex operations

This commit is contained in:
Roman Nozdrin
2023-08-22 08:36:37 +00:00
parent 74647cd90c
commit 7e746ad90c
2 changed files with 45 additions and 9 deletions

View File

@ -372,6 +372,8 @@ class ExtentMapIndexImpl
{
if (fInstance_)
{
// effectively umpas a mapped managed shmem segment changing the segment VA address
// when mapped next time.
delete fInstance_;
fInstance_ = nullptr;
}