Skip to content

Conversation

jackysp
Copy link
Member

@jackysp jackysp commented Aug 28, 2024

What problem does this PR solve?

Issue Number: close #55716

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.

Introduced variables `tidb_shard_row_id_bits` and `tidb_pre_split_regions`, to change the default values of `shard_row_id_bits` and `pre_split_regions`, avoiding setting them individually for each table.

@jackysp jackysp added the component/ddl This issue is related to DDL of TiDB. label Aug 28, 2024
@ti-chi-bot ti-chi-bot bot added do-not-merge/needs-linked-issue do-not-merge/needs-tests-checked 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. release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed do-not-merge/needs-tests-checked do-not-merge/needs-linked-issue release-note-none Denotes a PR that doesn't merit a release note. labels Aug 28, 2024
Copy link

codecov bot commented Aug 28, 2024

Codecov Report

Attention: Patch coverage is 96.87500% with 1 line in your changes missing coverage. Please review.

Project coverage is 58.3319%. Comparing base (499e45f) to head (04127e4).
Report is 52 commits behind head on master.

Additional details and impacted files
@@                Coverage Diff                @@
##             master     #55717         +/-   ##
=================================================
- Coverage   72.8489%   58.3319%   -14.5171%     
=================================================
  Files          1604       1756        +152     
  Lines        445733     643839     +198106     
=================================================
+ Hits         324712     375564      +50852     
- Misses       101000     243773     +142773     
- Partials      20021      24502       +4481     
Flag Coverage Δ
integration 41.3738% <53.1250%> (?)
unit 73.6243% <93.7500%> (+1.6630%) ⬆️

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

Components Coverage Δ
dumpling 52.9567% <ø> (ø)
parser ∅ <ø> (∅)
br 64.3915% <ø> (+18.6506%) ⬆️

@jackysp
Copy link
Member Author

jackysp commented Aug 28, 2024

/test check-dev

Copy link

tiprow bot commented Aug 28, 2024

@jackysp: The specified target(s) for /test were not found.
The following commands are available to trigger required jobs:

  • /test fast_test_tiprow
  • /test tidb_parser_test

Use /test all to run all jobs.

In response to this:

/test check-dev

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-sigs/prow repository.

@jackysp
Copy link
Member Author

jackysp commented Aug 28, 2024

/retest-required

@jackysp jackysp requested review from bb7133 and Benjamin2037 August 29, 2024 11:59
@D3Hunter
Copy link
Contributor

D3Hunter commented Sep 4, 2024

/hold

new feature need confirm from PM

@ti-chi-bot ti-chi-bot bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 4, 2024
@Frank945946
Copy link

The default values are the same as in prior versions, and it supports setting the values at the session level. LGTM.

@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Sep 4, 2024
Copy link
Collaborator

@Benjamin2037 Benjamin2037 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 bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Sep 5, 2024
Copy link

ti-chi-bot bot commented Sep 5, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-09-04 03:22:47.210870662 +0000 UTC m=+414691.728923572: ☑️ agreed by tangenta.
  • 2024-09-05 01:14:33.066485455 +0000 UTC m=+493397.584538380: ☑️ agreed by Benjamin2037.

@Benjamin2037
Copy link
Collaborator

/hold

@Benjamin2037
Copy link
Collaborator

@jackysp I just hold this pr and let PM Frank help open an FD for this issue,sync with you!

Copy link

ti-chi-bot bot commented Sep 5, 2024

@Frank945946: adding LGTM is restricted to approvers and reviewers in OWNERS files.

In response to this:

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.

@Benjamin2037
Copy link
Collaborator

/retest

@ti-chi-bot ti-chi-bot bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 6, 2024
Copy link

ti-chi-bot bot commented Sep 6, 2024

PR needs rebase.

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-sigs/prow repository.

@jackysp
Copy link
Member Author

jackysp commented Sep 13, 2024

@yudongusa PTAL, thanks!

Copy link

@yudongusa yudongusa left a comment

Choose a reason for hiding this comment

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

LGTM and please don't forget modifying TiDB document.

Copy link

ti-chi-bot bot commented Sep 13, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Benjamin2037, Frank945946, tangenta, yudongusa

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 Sep 13, 2024
@jackysp
Copy link
Member Author

jackysp commented Sep 13, 2024

/unhold

@ti-chi-bot ti-chi-bot bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 13, 2024
@jackysp jackysp removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 13, 2024
@ti-chi-bot ti-chi-bot bot merged commit 4371a1d into pingcap:master Sep 13, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved component/ddl This issue is related to DDL of TiDB. lgtm release-note Denotes a PR that will be considered when it comes time to generate release notes. 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.

The default values of shard_row_id_bits and pre_split_regions should be configurable
6 participants