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

Remove invalid blob file after BlobStore restored. #4475

Merged
merged 13 commits into from
Apr 2, 2022
Merged

Remove invalid blob file after BlobStore restored. #4475

merged 13 commits into from
Apr 2, 2022

Conversation

jiaqizho
Copy link
Contributor

@jiaqizho jiaqizho commented Mar 28, 2022

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

@ti-chi-bot
Copy link
Member

ti-chi-bot commented Mar 28, 2022

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • JaySon-Huang
  • lidezhu

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/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Mar 28, 2022
@JaySon-Huang
Copy link
Contributor

I think this PR is waiting for #3938 to be merged first?

@jiaqizho
Copy link
Contributor Author

I

yes.

@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 29, 2022
Signed-off-by: jiaqizho <zhoujiaqi@pingcap.com>
@ti-chi-bot ti-chi-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Mar 30, 2022
Copy link
Contributor

@JaySon-Huang JaySon-Huang left a comment

Choose a reason for hiding this comment

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

Can we add a ut for this behavior?

Comment on lines 843 to 855
const auto & blob_id = std::stoull(ss[1]);
bool found = false;
for (const auto & stat : stats)
{
if (stat->id == blob_id)
{
found = true;
break;
}
}

if (!found)
{
Copy link
Contributor

Choose a reason for hiding this comment

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

What about saving a std::set<BlobFileID> in L804~L808 to replace this O(n) searching?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In this case, every blob_id in the current path(in disk) will compare with the stats which also belong to the current path.

But if we used std::set<BlobFileID> in L804~L808, Then every blob_id in the current path(in disk) will compare with all of the stats.

Copy link
Contributor

Choose a reason for hiding this comment

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

No, L804~L808 is inside the loop of current path, so you only compare the id with stats under this path.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed to set_difference

dbms/src/Storages/Page/V3/BlobStore.cpp Outdated Show resolved Hide resolved
dbms/src/Storages/Page/V3/BlobStore.cpp Outdated Show resolved Hide resolved
jiaqizho and others added 2 commits March 30, 2022 12:17
Co-authored-by: JaySon <tshent@qq.com>
Co-authored-by: JaySon <tshent@qq.com>
@ti-chi-bot ti-chi-bot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Mar 30, 2022
dbms/src/Storages/Page/V3/BlobStore.cpp Outdated Show resolved Hide resolved
dbms/src/Storages/Page/V3/BlobStore.cpp Outdated Show resolved Hide resolved
dbms/src/Storages/Page/V3/BlobStore.cpp Outdated Show resolved Hide resolved
dbms/src/Storages/Page/V3/BlobStore.cpp Outdated Show resolved Hide resolved
dbms/src/Storages/Page/V3/BlobStore.cpp Outdated Show resolved Hide resolved
dbms/src/Storages/Page/V3/BlobStore.cpp Outdated Show resolved Hide resolved
Copy link
Contributor

@JaySon-Huang JaySon-Huang left a comment

Choose a reason for hiding this comment

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

LGTM with small comment

dbms/src/Storages/Page/V3/BlobStore.cpp Outdated Show resolved Hide resolved
dbms/src/Storages/Page/V3/BlobStore.cpp Outdated Show resolved Hide resolved
@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label Mar 31, 2022
@jiaqizho jiaqizho requested a review from CalvinNeo March 31, 2022 04:48
Copy link
Contributor

@lidezhu lidezhu 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 1, 2022
@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.

@jiaqizho
Copy link
Contributor Author

jiaqizho commented Apr 1, 2022

/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: 298264b

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Apr 1, 2022
@JaySon-Huang
Copy link
Contributor

/hold

@jiaqizho PTAL

[2022-04-01T07:18:09.424Z] [521/1123] BlobStoreTest.Restore (865 ms)
[2022-04-01T07:18:09.424Z] [2022/04/01 15:18:08.852 +08:00] [INFO] [PathCapacityMetrics.cpp:84] ["PathCapacityMetrics:Init capacity [path=/home/jenkins/agent/workspace/tiflash-ghpr-unit-tests/tiflash/tmp/] [capacity=0.00 B]"] [thread_id=1]
[2022-04-01T07:18:09.424Z] [2022/04/01 15:18:08.852 +08:00] [INFO] [MinTSOScheduler.cpp:47] ["MinTSOScheduler:thread_hard_limit is 10000, thread_soft_limit is 5000, and active_set_soft_limit is 11 in MinTSOScheduler."] [thread_id=1]
[2022-04-01T07:18:09.424Z] [2022/04/01 15:18:08.853 +08:00] [INFO] [RegionPersister.cpp:196] ["RegionPersister:RegionPersister running in v2 mode"] [thread_id=1]
[2022-04-01T07:18:09.424Z] [2022/04/01 15:18:08.853 +08:00] [INFO] [PageStorage.cpp:200] ["PageStorage:RegionPersister begin to restore data from disk. [path=/home/jenkins/agent/workspace/tiflash-ghpr-unit-tests/tiflash/tmp/kvstore] [num_writers=4]"] [thread_id=1]
[2022-04-01T07:18:09.424Z] [2022/04/01 15:18:08.855 +08:00] [INFO] [PageStorage.cpp:354] ["PageStorage:RegionPersister restore 0 pages, write batch sequence: 0, 0 puts and 0 refs and 0 deletes and 0 upserts"] [thread_id=1]
[2022-04-01T07:18:09.424Z] [2022/04/01 15:18:08.855 +08:00] [INFO] [KVStore.cpp:59] ["KVStore:Restored 0 regions"] [thread_id=1]
[2022-04-01T07:18:09.424Z] [2022/04/01 15:18:08.855 +08:00] [INFO] [RegionTable.cpp:182] ["RegionTable:Start to restore"] [thread_id=1]
[2022-04-01T07:18:09.424Z] [2022/04/01 15:18:08.855 +08:00] [INFO] [RegionTable.cpp:188] ["RegionTable:Restore 0 tables"] [thread_id=1]
[2022-04-01T07:18:09.424Z] �[0;33mNote: Google Test filter = BlobStoreTest.Restore
[2022-04-01T07:18:09.424Z] �[m�[0;32m[==========] �[mRunning 1 test from 1 test case.
[2022-04-01T07:18:09.424Z] �[0;32m[----------] �[mGlobal test environment set-up.
[2022-04-01T07:18:09.424Z] �[0;32m[----------] �[m1 test from BlobStoreTest
[2022-04-01T07:18:09.424Z] �[0;32m[ RUN      ] �[mBlobStoreTest.Restore
[2022-04-01T07:18:09.424Z] [2022/04/01 15:18:08.890 +08:00] [DEBUG] [BlobStore.cpp:992] ["BlobStore:Created a new BlobStat [blob_id=10]"] [thread_id=1]
[2022-04-01T07:18:09.424Z] [2022/04/01 15:18:08.890 +08:00] [DEBUG] [BlobStore.cpp:992] ["BlobStore:Created a new BlobStat [blob_id=12]"] [thread_id=1]
[2022-04-01T07:18:09.424Z] Code: 49. DB::Exception: Some of Blob are missing in disk.[path=/home/jenkins/agent/workspace/tiflash-ghpr-unit-tests/tiflash/tmp/BlobStoreTest.Restore] [stats ids: 10, 12]
[2022-04-01T07:18:09.424Z] 
[2022-04-01T07:18:09.424Z] Stack trace:
[2022-04-01T07:18:09.424Z] 
[2022-04-01T07:18:09.424Z]       0x1361c090	StackTrace::StackTrace() [gtests_dbms+325173392]
[2022-04-01T07:18:09.424Z]        0x6f59544	DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) [gtests_dbms+116757828]
[2022-04-01T07:18:09.424Z]       0x125fa509	DB::PS::V3::BlobStore::BlobStats::restore() [gtests_dbms+308258057]
[2022-04-01T07:18:09.424Z]        0x896bd6c	DB::PS::V3::tests::BlobStoreTest_Restore_Test::TestBody() [gtests_dbms+144096620]
[2022-04-01T07:18:09.424Z]       0x1032d84d	void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) [gtests_dbms+271767629]
[2022-04-01T07:18:09.424Z]       0x10315210	void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) [gtests_dbms+271667728]
[2022-04-01T07:18:09.424Z]       0x102f9d76	testing::Test::Run() [gtests_dbms+271555958]
[2022-04-01T07:18:09.425Z]       0x102faa09	testing::TestInfo::Run() [gtests_dbms+271559177]
[2022-04-01T07:18:09.425Z]       0x102fb09f	testing::TestCase::Run() [gtests_dbms+271560863]
[2022-04-01T07:18:09.425Z]       0x10303185	testing::internal::UnitTestImpl::RunAllTests() [gtests_dbms+271593861]
[2022-04-01T07:18:09.425Z]       0x103324bd	bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) [gtests_dbms+271787197]
[2022-04-01T07:18:09.425Z]       0x10317bb0	bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) [gtests_dbms+271678384]
[2022-04-01T07:18:09.425Z]       0x10302c9e	testing::UnitTest::Run() [gtests_dbms+271592606]
[2022-04-01T07:18:09.425Z]        0x8c6fa73	RUN_ALL_TESTS() [gtests_dbms+147257971]
[2022-04-01T07:18:09.425Z]        0x8c6d7ad	main [gtests_dbms+147249069]
[2022-04-01T07:18:09.425Z]   0x7f861de16555	__libc_start_main [libc.so.6+140629]
[2022-04-01T07:18:09.425Z]        0x6f4d729	<unknown symbol> [gtests_dbms+116709161]
[2022-04-01T07:18:09.425Z] unknown file: Failure
[2022-04-01T07:18:09.425Z] C++ exception with description "DB::Exception" thrown in the test body.
[2022-04-01T07:18:09.425Z] �[0;31m[  FAILED  ] �[mBlobStoreTest.Restore (222 ms)
[2022-04-01T07:18:09.425Z] �[0;32m[----------] �[m1 test from BlobStoreTest (222 ms total)
[2022-04-01T07:18:09.425Z] 
[2022-04-01T07:18:09.425Z] �[0;32m[----------] �[mGlobal test environment tear-down
[2022-04-01T07:18:09.425Z] �[0;32m[==========] �[m1 test from 1 test case ran. (222 ms total)
[2022-04-01T07:18:09.425Z] �[0;32m[  PASSED  ] �[m0 tests.
[2022-04-01T07:18:09.425Z] �[0;31m[  FAILED  ] �[m1 test, listed below:
[2022-04-01T07:18:09.425Z] �[0;31m[  FAILED  ] �[mBlobStoreTest.Restore
[2022-04-01T07:18:09.425Z] 
[2022-04-01T07:18:09.425Z]  1 FAILED TEST

@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 1, 2022
@jiaqizho
Copy link
Contributor Author

jiaqizho commented Apr 1, 2022

/hold

@jiaqizho PTAL

[2022-04-01T07:18:09.424Z] [521/1123] BlobStoreTest.Restore (865 ms)
[2022-04-01T07:18:09.424Z] [2022/04/01 15:18:08.852 +08:00] [INFO] [PathCapacityMetrics.cpp:84] ["PathCapacityMetrics:Init capacity [path=/home/jenkins/agent/workspace/tiflash-ghpr-unit-tests/tiflash/tmp/] [capacity=0.00 B]"] [thread_id=1]
[2022-04-01T07:18:09.424Z] [2022/04/01 15:18:08.852 +08:00] [INFO] [MinTSOScheduler.cpp:47] ["MinTSOScheduler:thread_hard_limit is 10000, thread_soft_limit is 5000, and active_set_soft_limit is 11 in MinTSOScheduler."] [thread_id=1]
[2022-04-01T07:18:09.424Z] [2022/04/01 15:18:08.853 +08:00] [INFO] [RegionPersister.cpp:196] ["RegionPersister:RegionPersister running in v2 mode"] [thread_id=1]
[2022-04-01T07:18:09.424Z] [2022/04/01 15:18:08.853 +08:00] [INFO] [PageStorage.cpp:200] ["PageStorage:RegionPersister begin to restore data from disk. [path=/home/jenkins/agent/workspace/tiflash-ghpr-unit-tests/tiflash/tmp/kvstore] [num_writers=4]"] [thread_id=1]
[2022-04-01T07:18:09.424Z] [2022/04/01 15:18:08.855 +08:00] [INFO] [PageStorage.cpp:354] ["PageStorage:RegionPersister restore 0 pages, write batch sequence: 0, 0 puts and 0 refs and 0 deletes and 0 upserts"] [thread_id=1]
[2022-04-01T07:18:09.424Z] [2022/04/01 15:18:08.855 +08:00] [INFO] [KVStore.cpp:59] ["KVStore:Restored 0 regions"] [thread_id=1]
[2022-04-01T07:18:09.424Z] [2022/04/01 15:18:08.855 +08:00] [INFO] [RegionTable.cpp:182] ["RegionTable:Start to restore"] [thread_id=1]
[2022-04-01T07:18:09.424Z] [2022/04/01 15:18:08.855 +08:00] [INFO] [RegionTable.cpp:188] ["RegionTable:Restore 0 tables"] [thread_id=1]
[2022-04-01T07:18:09.424Z] �[0;33mNote: Google Test filter = BlobStoreTest.Restore
[2022-04-01T07:18:09.424Z] �[m�[0;32m[==========] �[mRunning 1 test from 1 test case.
[2022-04-01T07:18:09.424Z] �[0;32m[----------] �[mGlobal test environment set-up.
[2022-04-01T07:18:09.424Z] �[0;32m[----------] �[m1 test from BlobStoreTest
[2022-04-01T07:18:09.424Z] �[0;32m[ RUN      ] �[mBlobStoreTest.Restore
[2022-04-01T07:18:09.424Z] [2022/04/01 15:18:08.890 +08:00] [DEBUG] [BlobStore.cpp:992] ["BlobStore:Created a new BlobStat [blob_id=10]"] [thread_id=1]
[2022-04-01T07:18:09.424Z] [2022/04/01 15:18:08.890 +08:00] [DEBUG] [BlobStore.cpp:992] ["BlobStore:Created a new BlobStat [blob_id=12]"] [thread_id=1]
[2022-04-01T07:18:09.424Z] Code: 49. DB::Exception: Some of Blob are missing in disk.[path=/home/jenkins/agent/workspace/tiflash-ghpr-unit-tests/tiflash/tmp/BlobStoreTest.Restore] [stats ids: 10, 12]
[2022-04-01T07:18:09.424Z] 
[2022-04-01T07:18:09.424Z] Stack trace:
[2022-04-01T07:18:09.424Z] 
[2022-04-01T07:18:09.424Z]       0x1361c090	StackTrace::StackTrace() [gtests_dbms+325173392]
[2022-04-01T07:18:09.424Z]        0x6f59544	DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) [gtests_dbms+116757828]
[2022-04-01T07:18:09.424Z]       0x125fa509	DB::PS::V3::BlobStore::BlobStats::restore() [gtests_dbms+308258057]
[2022-04-01T07:18:09.424Z]        0x896bd6c	DB::PS::V3::tests::BlobStoreTest_Restore_Test::TestBody() [gtests_dbms+144096620]
[2022-04-01T07:18:09.424Z]       0x1032d84d	void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) [gtests_dbms+271767629]
[2022-04-01T07:18:09.424Z]       0x10315210	void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) [gtests_dbms+271667728]
[2022-04-01T07:18:09.424Z]       0x102f9d76	testing::Test::Run() [gtests_dbms+271555958]
[2022-04-01T07:18:09.425Z]       0x102faa09	testing::TestInfo::Run() [gtests_dbms+271559177]
[2022-04-01T07:18:09.425Z]       0x102fb09f	testing::TestCase::Run() [gtests_dbms+271560863]
[2022-04-01T07:18:09.425Z]       0x10303185	testing::internal::UnitTestImpl::RunAllTests() [gtests_dbms+271593861]
[2022-04-01T07:18:09.425Z]       0x103324bd	bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) [gtests_dbms+271787197]
[2022-04-01T07:18:09.425Z]       0x10317bb0	bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) [gtests_dbms+271678384]
[2022-04-01T07:18:09.425Z]       0x10302c9e	testing::UnitTest::Run() [gtests_dbms+271592606]
[2022-04-01T07:18:09.425Z]        0x8c6fa73	RUN_ALL_TESTS() [gtests_dbms+147257971]
[2022-04-01T07:18:09.425Z]        0x8c6d7ad	main [gtests_dbms+147249069]
[2022-04-01T07:18:09.425Z]   0x7f861de16555	__libc_start_main [libc.so.6+140629]
[2022-04-01T07:18:09.425Z]        0x6f4d729	<unknown symbol> [gtests_dbms+116709161]
[2022-04-01T07:18:09.425Z] unknown file: Failure
[2022-04-01T07:18:09.425Z] C++ exception with description "DB::Exception" thrown in the test body.
[2022-04-01T07:18:09.425Z] �[0;31m[  FAILED  ] �[mBlobStoreTest.Restore (222 ms)
[2022-04-01T07:18:09.425Z] �[0;32m[----------] �[m1 test from BlobStoreTest (222 ms total)
[2022-04-01T07:18:09.425Z] 
[2022-04-01T07:18:09.425Z] �[0;32m[----------] �[mGlobal test environment tear-down
[2022-04-01T07:18:09.425Z] �[0;32m[==========] �[m1 test from 1 test case ran. (222 ms total)
[2022-04-01T07:18:09.425Z] �[0;32m[  PASSED  ] �[m0 tests.
[2022-04-01T07:18:09.425Z] �[0;31m[  FAILED  ] �[m1 test, listed below:
[2022-04-01T07:18:09.425Z] �[0;31m[  FAILED  ] �[mBlobStoreTest.Restore
[2022-04-01T07:18:09.425Z] 
[2022-04-01T07:18:09.425Z]  1 FAILED TEST

Waiting for GitHub reroute.

@ti-chi-bot ti-chi-bot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. and removed status/can-merge Indicates a PR has been approved by a committer. labels Apr 1, 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 Apr 2, 2022
@jiaqizho
Copy link
Contributor Author

jiaqizho commented Apr 2, 2022

/run-all-tests

@sre-bot
Copy link
Collaborator

sre-bot commented Apr 2, 2022

Coverage for changed files

Filename                           Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
BlobStore.cpp                          440               139    68.41%          42                 3    92.86%         926               223    75.92%         272               105    61.40%
BlobStore.h                              7                 1    85.71%           7                 1    85.71%          25                10    60.00%           0                 0         -
tests/gtest_blob_store.cpp            3867               667    82.75%          21                 0   100.00%         848                 7    99.17%        1210               572    52.73%
tests/gtest_page_directory.cpp        8833              1575    82.17%          50                 0   100.00%        1641                 7    99.57%        2774              1405    49.35%
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                13147              2382    81.88%         120                 4    96.67%        3440               247    92.82%        4256              2082    51.08%

Coverage summary

Functions  MissedFunctions  Executed  Lines   MissedLines  Cover
17009      9513             44.07%    191634  96402        49.69%

full coverage report (for internal network access only)

@jiaqizho
Copy link
Contributor Author

jiaqizho commented Apr 2, 2022

/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: 338da4b

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Apr 2, 2022
@jiaqizho
Copy link
Contributor Author

jiaqizho commented Apr 2, 2022

/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 2, 2022
@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 2, 2022

Coverage for changed files

Filename                           Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
BlobStore.cpp                          440               139    68.41%          42                 3    92.86%         926               223    75.92%         272               105    61.40%
BlobStore.h                              7                 1    85.71%           7                 1    85.71%          25                10    60.00%           0                 0         -
tests/gtest_blob_store.cpp            3867               667    82.75%          21                 0   100.00%         848                 7    99.17%        1210               572    52.73%
tests/gtest_page_directory.cpp        8833              1575    82.17%          50                 0   100.00%        1641                 7    99.57%        2774              1405    49.35%
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                13147              2382    81.88%         120                 4    96.67%        3440               247    92.82%        4256              2082    51.08%

Coverage summary

Functions  MissedFunctions  Executed  Lines   MissedLines  Cover
17009      9513             44.07%    191634  96392        49.70%

full coverage report (for internal network access only)

@ti-chi-bot ti-chi-bot merged commit 27452c6 into pingcap:master Apr 2, 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/XL Denotes a PR that changes 500-999 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