Merge pull request #26759 from taosdata/fix/TS-5189-3.0

new memory barrier before pager assignment
This commit is contained in:
Hongze Cheng 2024-07-24 14:09:57 +08:00 committed by GitHub
commit 77f50cacea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -957,6 +957,8 @@ static int tdbPagerInitPage(SPager *pPager, SPage *pPage, int (*initPage)(SPage
return -1;
}
tmemory_barrier();
pPage->pPager = pPager;
TDB_UNLOCK_PAGE(pPage);