tidb icon indicating copy to clipboard operation
tidb copied to clipboard

[WIP] lightning: improve post-import conflict detection 'error' semantic

Open lyzx2001 opened this issue 1 year ago • 4 comments

What problem does this PR solve?

Issue Number: ref #51036

Problem Summary: Merge preprocess duplicate detection and post-import conflict detection.

What changed and how does it work?

Improve post-import conflict detection 'error' semantic.

Check List

Tests

  • [x] Unit test
  • [x] Integration test
  • [ ] Manual test (add detailed scripts or steps below)
  • [ ] No need to test
    • [ ] I checked and no code files have been changed.

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

Please refer to Release Notes Language Style Guide to write a quality release note.

None

lyzx2001 avatar Feb 23 '24 06:02 lyzx2001

Hi @lyzx2001. Thanks for your PR.

PRs from untrusted users cannot be marked as trusted with /ok-to-test in this repo meaning untrusted PR authors can never trigger tests themselves. Collaborators can still trigger tests on the PR using /test all.

I understand the commands that are listed here.

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 kubernetes/test-infra repository.

tiprow[bot] avatar Feb 23 '24 06:02 tiprow[bot]

Codecov Report

Merging #51277 (f8021a2) into master (cd60e7f) will increase coverage by 1.0876%. Report is 6 commits behind head on master. The diff coverage is 52.5714%.

Additional details and impacted files
@@               Coverage Diff                @@
##             master     #51277        +/-   ##
================================================
+ Coverage   72.4691%   73.5567%   +1.0876%     
================================================
  Files          1474       1475         +1     
  Lines        363628     437945     +74317     
================================================
+ Hits         263518     322138     +58620     
- Misses        80708      95538     +14830     
- Partials      19402      20269       +867     
Flag Coverage Δ
integration 50.4922% <39.4285%> (?)
unit 70.4977% <25.1428%> (-1.8548%) :arrow_down:

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

Components Coverage Δ
dumpling 53.9957% <ø> (-2.3014%) :arrow_down:
parser ∅ <ø> (∅)
br 56.5143% <58.5585%> (+10.1013%) :arrow_up:

codecov[bot] avatar Feb 23 '24 07:02 codecov[bot]

/test pull-lightning-integration-test

lyzx2001 avatar Feb 27 '24 04:02 lyzx2001

@lyzx2001: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/test pull-lightning-integration-test

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 kubernetes/test-infra repository.

tiprow[bot] avatar Feb 27 '24 04:02 tiprow[bot]

/test pull-lightning-integration-test

lyzx2001 avatar Feb 27 '24 05:02 lyzx2001

@lyzx2001: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/test pull-lightning-integration-test

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 kubernetes/test-infra repository.

tiprow[bot] avatar Feb 27 '24 05:02 tiprow[bot]

/test pull-lightning-integration-test

lyzx2001 avatar Feb 27 '24 05:02 lyzx2001

@lyzx2001: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/test pull-lightning-integration-test

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 kubernetes/test-infra repository.

tiprow[bot] avatar Feb 27 '24 05:02 tiprow[bot]

/test pull-lightning-integration-test

lyzx2001 avatar Feb 27 '24 05:02 lyzx2001

@lyzx2001: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/test pull-lightning-integration-test

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 kubernetes/test-infra repository.

tiprow[bot] avatar Feb 27 '24 05:02 tiprow[bot]

/test pull-lightning-integration-test

lyzx2001 avatar Feb 27 '24 06:02 lyzx2001

@lyzx2001: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/test pull-lightning-integration-test

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 kubernetes/test-infra repository.

tiprow[bot] avatar Feb 27 '24 06:02 tiprow[bot]

/test pull-lightning-integration-test

lyzx2001 avatar Feb 27 '24 08:02 lyzx2001

@lyzx2001: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/test pull-lightning-integration-test

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 kubernetes/test-infra repository.

tiprow[bot] avatar Feb 27 '24 08:02 tiprow[bot]

/cc @lance6716

lyzx2001 avatar Feb 27 '24 09:02 lyzx2001

/test pull-lightning-integration-test

lyzx2001 avatar Feb 27 '24 13:02 lyzx2001

@lyzx2001: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/test pull-lightning-integration-test

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 kubernetes/test-infra repository.

tiprow[bot] avatar Feb 27 '24 13:02 tiprow[bot]

/test pull-lightning-integration-test

lyzx2001 avatar Feb 29 '24 08:02 lyzx2001

@lyzx2001: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/test pull-lightning-integration-test

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 kubernetes/test-infra repository.

tiprow[bot] avatar Feb 29 '24 08:02 tiprow[bot]

/test pull-lightning-integration-test

lyzx2001 avatar Feb 29 '24 08:02 lyzx2001

@lyzx2001: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/test pull-lightning-integration-test

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 kubernetes/test-infra repository.

tiprow[bot] avatar Feb 29 '24 08:02 tiprow[bot]

/test pull-lightning-integration-test

lyzx2001 avatar Feb 29 '24 13:02 lyzx2001

@lyzx2001: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/test pull-lightning-integration-test

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 kubernetes/test-infra repository.

tiprow[bot] avatar Feb 29 '24 13:02 tiprow[bot]

/test pull-lightning-integration-test

lyzx2001 avatar Mar 04 '24 10:03 lyzx2001

@lyzx2001: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/test pull-lightning-integration-test

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 kubernetes/test-infra repository.

tiprow[bot] avatar Mar 04 '24 10:03 tiprow[bot]

/retest

lyzx2001 avatar Mar 04 '24 15:03 lyzx2001

@lyzx2001: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/retest

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 kubernetes/test-infra repository.

tiprow[bot] avatar Mar 04 '24 15:03 tiprow[bot]

/test pull-lightning-integration-test

lyzx2001 avatar Mar 04 '24 16:03 lyzx2001

@lyzx2001: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/test pull-lightning-integration-test

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 kubernetes/test-infra repository.

tiprow[bot] avatar Mar 04 '24 16:03 tiprow[bot]

/test pull-lightning-integration-test

lyzx2001 avatar Mar 05 '24 04:03 lyzx2001