Skip to content
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

Add a pagestorage v3 controller. #4320

Merged
merged 18 commits into from
Apr 14, 2022
Merged

Add a pagestorage v3 controller. #4320

merged 18 commits into from
Apr 14, 2022

Conversation

jiaqizho
Copy link
Contributor

@jiaqizho jiaqizho commented Mar 17, 2022

Signed-off-by: jiaqizho zhoujiaqi@pingcap.com

What problem does this PR solve?

Issue Number: ref #3594

Problem Summary:

What is changed and how it works?

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

None

Signed-off-by: jiaqizho <zhoujiaqi@pingcap.com>
@ti-chi-bot
Copy link
Member

ti-chi-bot commented Mar 17, 2022

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • CalvinNeo
  • JaySon-Huang

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@ti-chi-bot ti-chi-bot added do-not-merge/needs-linked-issue release-note-none Denotes a PR that doesn't merit a release note. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Mar 17, 2022
@jiaqizho jiaqizho changed the title Add a pagestorage v3 control. Add a pagestorage v3 controller. Mar 17, 2022
dbms/src/Storages/Page/V3/spacemap/SpaceMap.h Outdated Show resolved Hide resolved
dbms/src/Storages/Page/V3/spacemap/SpaceMap.h Outdated Show resolved Hide resolved
dbms/src/Storages/Page/V3/PageDirectory.h Outdated Show resolved Hide resolved
@jiaqizho jiaqizho requested a review from CalvinNeo March 21, 2022 05:57
@ti-chi-bot ti-chi-bot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Mar 21, 2022
@ti-chi-bot ti-chi-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 28, 2022
@ti-chi-bot ti-chi-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 31, 2022
@jiaqizho
Copy link
Contributor Author

need some replacement with fmtbuffer.

@CLAassistant
Copy link

CLAassistant commented Apr 1, 2022

CLA assistant check
All committers have signed the CLA.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label Apr 12, 2022
@jiaqizho
Copy link
Contributor Author

/hold

after all tests and fixed PR merged.
cc @JaySon-Huang

@ti-chi-bot ti-chi-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 12, 2022
Copy link
Member

@CalvinNeo CalvinNeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ti-chi-bot ti-chi-bot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Apr 13, 2022
@jiaqizho
Copy link
Contributor Author

/unhold

@ti-chi-bot ti-chi-bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 13, 2022
@jiaqizho
Copy link
Contributor Author

/merge

@ti-chi-bot
Copy link
Member

@jiaqizho: It seems you want to merge this PR, I will help you trigger all the tests:

/run-all-tests

You only need to trigger /merge once, and if the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes.

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.

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

Commit hash: a04249f

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Apr 13, 2022
@sre-bot
Copy link
Collaborator

sre-bot commented Apr 13, 2022

Coverage for changed files

Filename                        Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
BlobStore.cpp                       438               136    68.95%          49                 5    89.80%         952               241    74.68%         274               106    61.31%
BlobStore.h                           7                 1    85.71%           7                 1    85.71%          25                10    60.00%           0                 0         -
PageDirectory.h                      24                 4    83.33%          24                 4    83.33%         101                13    87.13%           0                 0         -
PageStorageImpl.h                     6                 2    66.67%           6                 2    66.67%           6                 2    66.67%           0                 0         -
spacemap/SpaceMap.cpp                33                 4    87.88%           7                 0   100.00%          54                15    72.22%          22                 7    68.18%
spacemap/SpaceMap.h                   7                 2    71.43%           4                 1    75.00%          18                 5    72.22%           6                 1    83.33%
spacemap/SpaceMapRBTree.cpp         320                78    75.62%          18                 1    94.44%         558               114    79.57%         190                58    69.47%
spacemap/SpaceMapRBTree.h             2                 0   100.00%           2                 0   100.00%           5                 0   100.00%           0                 0         -
spacemap/SpaceMapSTDMap.h           153                19    87.58%          11                 0   100.00%         247                20    91.90%          96                20    79.17%
tests/gtest_free_map.cpp           1848               309    83.28%          12                 0   100.00%         241                 0   100.00%         616               308    50.00%
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                              2838               555    80.44%         140                14    90.00%        2207               420    80.97%        1204               500    58.47%

Coverage summary

Functions  MissedFunctions  Executed  Lines   MissedLines  Cover
17023      9511             44.13%    191866  96450        49.73%

full coverage report (for internal network access only)

@ti-chi-bot
Copy link
Member

@jiaqizho: Your PR was out of date, I have automatically updated it for you.

At the same time I will also trigger all tests for you:

/run-all-tests

If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes.

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.

@sre-bot
Copy link
Collaborator

sre-bot commented Apr 14, 2022

Coverage for changed files

Filename                        Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
BlobStore.cpp                       438               136    68.95%          49                 5    89.80%         952               241    74.68%         274               106    61.31%
BlobStore.h                           7                 1    85.71%           7                 1    85.71%          25                10    60.00%           0                 0         -
PageDirectory.h                      24                 4    83.33%          24                 4    83.33%         101                13    87.13%           0                 0         -
PageStorageImpl.h                     6                 2    66.67%           6                 2    66.67%           6                 2    66.67%           0                 0         -
spacemap/SpaceMap.cpp                33                 4    87.88%           7                 0   100.00%          54                15    72.22%          22                 7    68.18%
spacemap/SpaceMap.h                   7                 2    71.43%           4                 1    75.00%          18                 5    72.22%           6                 1    83.33%
spacemap/SpaceMapRBTree.cpp         320                78    75.62%          18                 1    94.44%         558               114    79.57%         190                58    69.47%
spacemap/SpaceMapRBTree.h             2                 0   100.00%           2                 0   100.00%           5                 0   100.00%           0                 0         -
spacemap/SpaceMapSTDMap.h           153                19    87.58%          11                 0   100.00%         247                20    91.90%          96                20    79.17%
tests/gtest_free_map.cpp           1848               309    83.28%          12                 0   100.00%         241                 0   100.00%         616               308    50.00%
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                              2838               555    80.44%         140                14    90.00%        2207               420    80.97%        1204               500    58.47%

Coverage summary

Functions  MissedFunctions  Executed  Lines   MissedLines  Cover
17025      9512             44.13%    191972  96455        49.76%

full coverage report (for internal network access only)

@ti-chi-bot ti-chi-bot merged commit 402e477 into pingcap:master Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note-none Denotes a PR that doesn't merit a release note. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants