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. |
|
Need to add more tests currently. |
42b2481 to
ce91533
Compare
|
/run-all-tests |
1 similar comment
|
/run-all-tests |
|
/run-unit-test |
3 similar comments
|
/run-unit-test |
|
/run-unit-test |
|
/run-unit-test |
58eb213 to
3935346
Compare
|
/run-all-tests |
d18c73c to
26978e8
Compare
|
/run-all-tests |
|
@jiaqizho PTAL |
|
Coverage detail: https://ci-internal.pingcap.net/job/tics_ghpr_unit_test/1156/cobertura/ lines: 45.1% (52356 out of 116141) |
There was a problem hiding this comment.
we not support multi-path yet. how about just used delegator->defaultPath replace L22-34.
There was a problem hiding this comment.
I prefer to keep it since we need to write the same code later. Just keep the assertion for TODO.
jiaqizho
left a comment
There was a problem hiding this comment.
So I think the logical in PageDirectory restore, should put into PageStorageImpl?
cause we also need BlobStore restore, eq. restore the BlobStats and rebuild the inside spacemap.
There was a problem hiding this comment.
how about changing the LogFilenameSet to list and pop_back?
There was a problem hiding this comment.
- I use the sorted set to keep the order of restoring log files
- The
LogFilenameonly store some string and don't contains any fd, so I think releasing them bylist::pop_backis not very necessary
I'm not sure whether we still need this ordering after we
- persisted
REFasPUT - use
CollapsingPageDirectoryto restore data and only keep the largest version of entry
maybe come back to it later?
|
/run-unit-test |
|
Coverage detail: https://ci-internal.pingcap.net/job/tics_ghpr_unit_test/1174/cobertura/ lines: 45.1% (52381 out of 116163) |
|
/run-all-tests |
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
1576775 to
d8ff1f8
Compare
|
/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: d8ff1f8 |
|
/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. |
|
Coverage detail: https://ci-internal.pingcap.net/job/tics_ghpr_unit_test/1194/cobertura/ lines: 45.1% (52458 out of 116360) |
|
Coverage detail: https://ci-internal.pingcap.net/job/tics_ghpr_unit_test/1198/cobertura/ lines: 45.1% (52452 out of 116380) |
What problem does this PR solve?
Issue Number: a part of #3594, WALStore implementation
What is changed and how it works?
InMemoryPageDirectorythat only stores the latest version of entry for restoring and compact logs inWALStorePageEntriesEditas WAL recordCheck List
Tests
Side effects
Documentation
Release note