PageStorage: Ref page lifetime mechanism#4174
Conversation
|
[REVIEW NOTIFICATION] This pull request has been approved by:
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. |
07e21aa to
cb4b1ca
Compare
|
/run-unit-test |
1 similar comment
|
/run-unit-test |
Coverage for changed filesCoverage summaryfull coverage report (for internal network access only) |
dd2c101 to
4b68bdc
Compare
|
/run-unit-test |
Coverage for changed filesCoverage summaryfull coverage report (for internal network access only) |
|
/run-all-tests |
Coverage for changed filesCoverage summaryfull coverage report (for internal network access only) |
Signed-off-by: JaySon-Huang <tshent@qq.com>
38a19eb to
ce8448f
Compare
|
/run-all-tests |
|
/run-all-tests |
Coverage for changed filesCoverage summaryfull coverage report (for internal network access only) |
|
/run-all-tests |
Coverage for changed filesCoverage summaryfull coverage report (for internal network access only) |
|
/run-all-tests |
| // wal->compactLogs(); | ||
| // wal.reset(); | ||
|
|
||
| // // After logs compacted, they should be written as one edit. | ||
| // num_edits_read = 0; | ||
| // num_pages_read = 0; | ||
| // wal = WALStore::create( | ||
| // [&](PageEntriesEdit && edit) { | ||
| // num_pages_read += edit.size(); | ||
| // EXPECT_EQ(page_id, edit.size()) << fmt::format("at idx={}", num_edits_read); | ||
| // num_edits_read += 1; | ||
| // }, | ||
| // provider, | ||
| // delegator); | ||
| // EXPECT_EQ(num_edits_read, 1); | ||
| // EXPECT_EQ(num_pages_read, page_id); |
There was a problem hiding this comment.
These test need to be rewrite in the following PR
Coverage for changed filesCoverage summaryfull coverage report (for internal network access only) |
|
/merge |
|
@JaySon-Huang: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger If you have any questions about the PR merge process, please refer to pr process. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: bf76e3e |
Coverage for changed filesCoverage summaryfull coverage report (for internal network access only) |
What problem does this PR solve?
Issue Number: close #4017, ref #3594
Problem Summary:
What is changed and how it works?
Introduce
VarEntryto manage the lifetime of PageEntries/ExternalPages in PageDirectory with RefPage mechanismCheck List
Tests
Side effects
Documentation
Release note