[WIP] PageStorage: Fix the lifetime of PageEntries in PageDirectory with RefPage mechanism #4061
[WIP] PageStorage: Fix the lifetime of PageEntries in PageDirectory with RefPage mechanism #4061JaySon-Huang wants to merge 7 commits intopingcap:masterfrom
RefPage mechanism #4061Conversation
|
[REVIEW NOTIFICATION] This pull request has not been approved. To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
|
/run-all-tests |
| @@ -0,0 +1 @@ | |||
| leak:fiu_enable | |||
There was a problem hiding this comment.
This file is added for running asan detection like #4054
Coverage for changed filesCoverage summaryfull coverage report (for internal network access only) |
|
Find that we need to change the logic in |
RefPage mechanism RefPage mechanism
f878158 to
a742a77
Compare
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
a19d04d to
b262256
Compare
Signed-off-by: JaySon-Huang <tshent@qq.com>
772f19e to
e2cb6fe
Compare
|
do it by another design #4174 |
What problem does this PR solve?
Issue Number: a part of #3594
Problem Summary: Fix the lifetime of PageEntries in PageDirectory with RefPage mechanism, the ut:
https://github.com/pingcap/tics/blob/c9960d42f2f701010ff591c2421b4a2b941b03b8/dbms/src/Storages/Page/V3/tests/gtest_page_directory.cpp#L1014-L1047
What is changed and how it works?
PageDirectoryCheck List
Tests
Side effects
Documentation
Release note