Skip to content

*: make the expressions of GlobalStats consistent#18807

Merged
ti-chi-bot[bot] merged 12 commits into
pingcap:masterfrom
lilin90:make-globalstats-consistent-18524
Nov 26, 2024
Merged

*: make the expressions of GlobalStats consistent#18807
ti-chi-bot[bot] merged 12 commits into
pingcap:masterfrom
lilin90:make-globalstats-consistent-18524

Conversation

@lilin90
Copy link
Copy Markdown
Member

@lilin90 lilin90 commented Sep 4, 2024

What is changed, added or deleted? (Required)

This PR makes the expressions of GlobalStats consistent and easier to understand based on this comment pingcap/docs-cn#17827 (comment) and communication with winoros. It's a follow-up to pingcap/docs-cn#17827.

Specifically, this PR changes GlobalStats to global statistics of partitioned tables, or just global statistics when the context is clear to avoid redundancy.

Which TiDB version(s) do your changes apply to? (Required)

Tips for choosing the affected version(s):

By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.

For details, see tips for choosing the affected versions.

  • master (the latest development version)
  • v8.4 (TiDB 8.4 versions)
  • v8.3 (TiDB 8.3 versions)
  • v8.2 (TiDB 8.2 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)
  • v6.1 (TiDB 6.1 versions)
  • v5.4 (TiDB 5.4 versions)
  • v5.3 (TiDB 5.3 versions))

What is the related PR or file link(s)?

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

@lilin90 lilin90 added needs-cherry-pick-release-8.1 Should cherry pick this PR to release-8.1 branch. translation/from-docs-cn This PR is translated from a PR in pingcap/docs-cn. type/enhancement The issue or PR belongs to an enhancement. labels Sep 4, 2024
@lilin90 lilin90 self-assigned this Sep 4, 2024
@ti-chi-bot ti-chi-bot Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 4, 2024
@lilin90 lilin90 added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. status/WIP This PR is still working in progress. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels Sep 4, 2024
@ti-chi-bot ti-chi-bot Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Nov 14, 2024
@lilin90 lilin90 removed the needs-cherry-pick-release-8.1 Should cherry pick this PR to release-8.1 branch. label Nov 14, 2024
@ti-chi-bot ti-chi-bot Bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 14, 2024
@lilin90 lilin90 requested a review from winoros November 15, 2024 06:50
@lilin90 lilin90 removed the status/WIP This PR is still working in progress. label Nov 15, 2024
Copy link
Copy Markdown
Collaborator

@qiancai qiancai left a comment

Choose a reason for hiding this comment

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

Rest LGTM

Comment thread optimizer-fix-controls.md Outdated
@ti-chi-bot ti-chi-bot Bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Nov 15, 2024
@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot Bot commented Nov 15, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-11-15 08:16:25.479149108 +0000 UTC m=+603347.670018100: ☑️ agreed by qiancai.

Comment thread partitioned-table.md Outdated
Comment thread releases/release-6.3.0.md Outdated
Comment thread system-variables.md Outdated
lilin90 and others added 2 commits November 15, 2024 17:03
Co-authored-by: Grace Cai <qqzczy@126.com>
Co-authored-by: Grace Cai <qqzczy@126.com>
@lilin90 lilin90 changed the title Make the expressions of GlobalStats consistent *: make the expressions of GlobalStats consistent Nov 18, 2024
@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot Bot commented Nov 21, 2024

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

Details

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

@lilin90 lilin90 added the lgtm label Nov 26, 2024
@lilin90
Copy link
Copy Markdown
Member Author

lilin90 commented Nov 26, 2024

/approve

@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot Bot commented Nov 26, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lilin90

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

The pull request process is described here

Details 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 Nov 26, 2024
@ti-chi-bot ti-chi-bot Bot merged commit 4e779e3 into pingcap:master Nov 26, 2024
@lilin90 lilin90 deleted the make-globalstats-consistent-18524 branch November 29, 2024 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm needs-1-more-lgtm Indicates a PR needs 1 more LGTM. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. translation/from-docs-cn This PR is translated from a PR in pingcap/docs-cn. type/enhancement The issue or PR belongs to an enhancement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants