-
Notifications
You must be signed in to change notification settings - Fork 411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PageStorage: Fix some bugs #4212
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. Reviewer can indicate their review by submitting an approval review. |
/run-all-tests |
Coverage for changed files
Coverage summary
full coverage report (for internal network access only) |
@JaySon-Huang could you add some description(about the bug) in this PR? I got a little confused. |
@jiaqizho Updated. This PR combines several bug fixes from different aspects. You may want to check them by the commit instead of the whole changes of this PR. |
/run-integration-test |
1 similar comment
/run-integration-test |
/run-all-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LTGM
/run-all-tests |
Coverage for changed files
Coverage summary
full coverage report (for internal network access only) |
please add
|
Done |
/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. Instructions 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. Commit hash: e014bc2
|
Coverage for changed files
Coverage summary
full coverage report (for internal network access only) |
ref pingcap#3594 Signed-off-by: ywqzzy <[email protected]>
Signed-off-by: ywqzzy <[email protected]> update. Signed-off-by: ywqzzy <[email protected]> update. Signed-off-by: ywqzzy <[email protected]> Split write and ingest throughput (pingcap#4245) close pingcap#4243 Signed-off-by: ywqzzy <[email protected]> fix the problem that expired data was not recycled timely due to slow gc speed (pingcap#4224) close pingcap#4146 Signed-off-by: ywqzzy <[email protected]> PageStorage: Fix some bugs (pingcap#4212) ref pingcap#3594 Signed-off-by: ywqzzy <[email protected]> Make test of CreateTables using affected opts (pingcap#4239) close pingcap#4235 Signed-off-by: ywqzzy <[email protected]> BlobStore: remove the old_ids, not need recycle the blob id. (pingcap#4247) ref pingcap#3594 Signed-off-by: ywqzzy <[email protected]> support `PartitionTableScan` in TiFlash (pingcap#3876) close pingcap#3873 Signed-off-by: ywqzzy <[email protected]> update. Signed-off-by: ywqzzy <[email protected]> update. Signed-off-by: ywqzzy <[email protected]> support last_day and dayofmonth pushdown to tiflash (pingcap#4183) close pingcap#4149 Signed-off-by: ywqzzy <[email protected]>
What problem does this PR solve?
Issue Number: ref #3594
Problem Summary:
What is changed and how it works?
gc
will make it crashall_files
or we will read the checkpoint file twicewhen we restore blobstat, we can not know that entry1 is removed in memory. So we need to restore blob stat this way:
1479d4a fix the problem for external page
e19947b
Remove a check that is not necessary, it does not help checking anything.
create_ver.sequence
does not represent the sequence of being-ref-entry, but the ref-entry itself. So it is allow.Check List
Tests
Side effects
Documentation
Release note