Fix unstable drop table unit test#5059
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. |
|
/run-all-tests |
Coverage for changed filesCoverage summaryfull coverage report (for internal network access only) |
JaySon-Huang
left a comment
There was a problem hiding this comment.
LGTM with small comment
dbms/src/Storages/DeltaMerge/tests/gtest_dm_storage_delta_merge.cpp
Outdated
Show resolved
Hide resolved
|
/merge |
|
@lidezhu: 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: b745aa2 |
Coverage for changed filesCoverage summaryfull coverage report (for internal network access only) |
|
In response to a cherrypick label: new pull request created: #5072. |
What problem does this PR solve?
Issue Number: close #5060
Problem Summary: To make the segments in the unit test split more easily, we change the dt related params in settings.
But we just change the settings in the local context, and in the global context the settings is unchanged.
When processing write request,
DeltaMergeStorecallscheckSegmentwith the local context we passed. So it splits as we expected.But we do several
DeltaMergeStoreinitialization in the test, and in the initialization process,DeltaMergeStorecallscheckSegmentwith the global_context, and try to merge the segments which make the test not stableWhat is changed and how it works?
Make the settings in local context and global_context consistent.
Check List
Tests
Side effects
Documentation
Release note