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

test(engine):add DM test case new_collation_off #6857

Merged
merged 14 commits into from
Aug 26, 2022

Conversation

lance6716
Copy link
Contributor

What problem does this PR solve?

Issue Number: close #6851 ref #6776

What is changed and how it works?

Check List

Tests

  • Integration test
  • Manual test

Questions

Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?

Release note

`None`.

@ti-chi-bot
Copy link
Member

ti-chi-bot commented Aug 23, 2022

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • CharlesCheung96
  • GMHDBJD

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 release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 23, 2022
@ti-chi-bot ti-chi-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 23, 2022
Signed-off-by: lance6716 <[email protected]>
@lance6716 lance6716 added the area/engine Issues or PRs related to Dataflow Engine. label Aug 23, 2022
@lance6716
Copy link
Contributor Author

/cc @GMHDBJD @maxshuang

@CharlesCheung96
Copy link
Contributor

/run-engine-integration-test

@lance6716
Copy link
Contributor Author

/merge

@ti-chi-bot
Copy link
Member

@lance6716: /merge in this pull request requires 2 approval(s).

In response to this:

/merge

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.

@lance6716
Copy link
Contributor Author

/run-engine-integration-test

2 similar comments
@lance6716
Copy link
Contributor Author

/run-engine-integration-test

@CharlesCheung96
Copy link
Contributor

/run-engine-integration-test

Signed-off-by: lance6716 <[email protected]>
@lance6716
Copy link
Contributor Author

/run-engine-integration-test

PTAL @CharlesCheung96 @maxshuang

@codecov-commenter
Copy link

codecov-commenter commented Aug 25, 2022

Codecov Report

Merging #6857 (a374295) into master (7c5032c) will decrease coverage by 0.0554%.
The diff coverage is 49.4285%.

Flag Coverage Δ
cdc 67.2612% <59.5588%> (-0.1157%) ⬇️
dm 52.0448% <52.4822%> (+0.0462%) ⬆️
engine 62.3498% <41.4893%> (-0.2856%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@@               Coverage Diff                @@
##             master      #6857        +/-   ##
================================================
- Coverage   59.9224%   59.8670%   -0.0555%     
================================================
  Files           783        786         +3     
  Lines         89519      89627       +108     
================================================
+ Hits          53642      53657        +15     
- Misses        31168      31255        +87     
- Partials       4709       4715         +6     

@lance6716
Copy link
Contributor Author

/run-engine-integration-test

@@ -216,16 +216,18 @@ func (l *LightningLoader) runLightning(ctx context.Context, cfg *lcfg.Config) er
var opts []lightning.Option
if l.cfg.MetricsFactory != nil {
// this branch means dataflow engine has set a Factory, the Factory itself
// will register and deregister metrics, so we must use NoopRegistry
// to avoid duplicated registration.
// will register and deregister metrics, but lightning will expect the
Copy link
Contributor

@maxshuang maxshuang Aug 26, 2022

Choose a reason for hiding this comment

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

Do you think we need to add a unregister method to Factory to make it more flexible?

@lance6716
Copy link
Contributor Author

/run-engine-integration-test

Copy link
Contributor

@GMHDBJD GMHDBJD 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 the status/LGT1 Indicates that a PR has LGTM 1. label Aug 26, 2022
@maxshuang
Copy link
Contributor

Rest LGTM.

@@ -0,0 +1,61 @@
version: '2.3'
Copy link
Contributor

Choose a reason for hiding this comment

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

Better to use a general filename, such as: dm_database_tidb_v6.1.yaml

Copy link
Contributor Author

Choose a reason for hiding this comment

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

new_collation_off is the key difference of this deployment. (I'll change v6.1 to nightly in next commit)

@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 Aug 26, 2022
@lance6716
Copy link
Contributor Author

/merge

@ti-chi-bot
Copy link
Member

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

Commit hash: 83940d4

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Aug 26, 2022
@ti-chi-bot
Copy link
Member

@lance6716: 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.

@lance6716
Copy link
Contributor Author

/run-verify

@ti-chi-bot ti-chi-bot merged commit 39fbe60 into pingcap:master Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/engine Issues or PRs related to Dataflow Engine. release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 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.

executor panic after task resume
6 participants