Read ThreadPool and Data Sharing of DeltaTree#5377
Read ThreadPool and Data Sharing of DeltaTree#5377ti-chi-bot merged 34 commits intopingcap:masterfrom
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. |
9c1c29c to
da878a6
Compare
dbms/src/Storages/DeltaMerge/tests/gtest_circular_scan_list.cpp
Outdated
Show resolved
Hide resolved
dbms/src/Storages/DeltaMerge/tests/gtest_circular_scan_list.cpp
Outdated
Show resolved
Hide resolved
6e5d33e to
8704f06
Compare
dbms/src/Storages/DeltaMerge/tests/gtest_circular_scan_list.cpp
Outdated
Show resolved
Hide resolved
e963866 to
068a7ad
Compare
| } | ||
| else if (target->second.pack_count < pack_count) | ||
| { | ||
| status = ColumnCacheStatus::GET_PART; |
There was a problem hiding this comment.
I think there is space to optimize this part further, i.e. even if part of the cache that exists can still be helpful.
But we can do it later.
There was a problem hiding this comment.
And to reduce the chance of step mismatch of the split of packs, we can try to align the split point. For example, we always read packs by pack_id % 4 == 0.
Thread 1: 2, 3 | 4, 5, 6, 7 | 8, 9
Thread 2: 0, 1, 2, 3 | 4, 5, 6, 7 | 8
dbms/src/Storages/DeltaMerge/ReadThread/SegmentReadTaskScheduler.h
Outdated
Show resolved
Hide resolved
|
LGTM |
|
/merge |
|
@JinheLin: 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: f1e7e7e |
Coverage for changed filesCoverage summaryfull coverage report (for internal network access only) |
|
/merge |
|
@JinheLin: 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 for changed filesCoverage summaryfull coverage report (for internal network access only) |
Coverage for changed filesCoverage summaryfull coverage report (for internal network access only) |
Coverage for changed filesCoverage summaryfull coverage report (for internal network access only) |
What problem does this PR solve?
Issue Number: close #5376
Problem Summary:
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note