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

disttask: enable on default #52401

Merged
merged 10 commits into from Apr 12, 2024
Merged

disttask: enable on default #52401

merged 10 commits into from Apr 12, 2024

Conversation

D3Hunter
Copy link
Contributor

@D3Hunter D3Hunter commented Apr 8, 2024

What problem does this PR solve?

Issue Number: ref #52441

Problem Summary:

What changed and how does it work?

Check List

Tests

  • Unit test
  • 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

@ti-chi-bot ti-chi-bot bot added do-not-merge/needs-linked-issue release-note-none size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Apr 8, 2024
Copy link

tiprow bot commented Apr 8, 2024

Hi @D3Hunter. 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.

Copy link

codecov bot commented Apr 8, 2024

Codecov Report

Merging #52401 (4b0c755) into master (29ced7f) will increase coverage by 2.1837%.
Report is 50 commits behind head on master.
The diff coverage is 42.8571%.

Additional details and impacted files
@@               Coverage Diff                @@
##             master     #52401        +/-   ##
================================================
+ Coverage   74.1411%   76.3249%   +2.1837%     
================================================
  Files          1467       1493        +26     
  Lines        354227     448518     +94291     
================================================
+ Hits         262628     342331     +79703     
- Misses        72389      85437     +13048     
- Partials      19210      20750      +1540     
Flag Coverage Δ
integration 53.3347% <0.0000%> (?)
unit 72.2051% <42.8571%> (-0.6911%) ⬇️

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

Components Coverage Δ
dumpling 53.9957% <ø> (-2.3014%) ⬇️
parser ∅ <ø> (∅)
br 63.0091% <ø> (+20.5753%) ⬆️

@ti-chi-bot ti-chi-bot 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 Apr 8, 2024
PRIMARY KEY (`id`) /*T![clustered_index] CLUSTERED */,
KEY `idx_task_key` (`task_key`),
KEY `idx_state_update_time` (`state_update_time`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin
Copy link
Contributor Author

Choose a reason for hiding this comment

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

after enable disttask on default, this will return AUTO_INCREMENT=xxx

@D3Hunter D3Hunter changed the title disttask: enable on default [WIP]disttask: enable on default Apr 8, 2024
@ti-chi-bot ti-chi-bot bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 8, 2024
@D3Hunter D3Hunter changed the title [WIP]disttask: enable on default disttask: enable on default Apr 9, 2024
@ti-chi-bot ti-chi-bot bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 9, 2024
Comment on lines +1314 to +1317
if ver > version195 {
// since version195 we enable dist task by default, no need to check
return
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ywqzzy ywqzzy self-requested a review April 9, 2024 06:57
Copy link

ti-chi-bot bot commented Apr 11, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-04-11 06:59:59.744565205 +0000 UTC m=+1118461.272105751: ☑️ agreed by wjhuang2016.
  • 2024-04-11 07:04:55.45792789 +0000 UTC m=+1118756.985468437: ☑️ agreed by zimulala.

@easonn7
Copy link

easonn7 commented Apr 11, 2024

/approve

1 similar comment
@D3Hunter
Copy link
Contributor Author

/approve

Copy link

ti-chi-bot bot commented Apr 11, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: D3Hunter, easonn7, wjhuang2016, zimulala

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added the approved label Apr 11, 2024
@D3Hunter
Copy link
Contributor Author

/retest

Copy link

tiprow bot commented Apr 11, 2024

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

@D3Hunter
Copy link
Contributor Author

/retest

Copy link

tiprow bot commented Apr 12, 2024

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

@ti-chi-bot ti-chi-bot bot merged commit 7308ff1 into pingcap:master Apr 12, 2024
25 checks passed
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-8.1: #52532.

@D3Hunter D3Hunter deleted the enable-dxf branch April 12, 2024 04:00
ti-chi-bot bot pushed a commit that referenced this pull request Apr 12, 2024
3AceShowHand pushed a commit to 3AceShowHand/tidb that referenced this pull request Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm needs-cherry-pick-release-8.1 release-note-none size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants