Skip to content

tools: update the usage of region startkey to region keys#6951

Merged
ti-chi-bot merged 17 commits intopingcap:masterfrom
IcePigZDB:pdctl-regions-keys
May 13, 2022
Merged

tools: update the usage of region startkey to region keys#6951
ti-chi-bot merged 17 commits intopingcap:masterfrom
IcePigZDB:pdctl-regions-keys

Conversation

@IcePigZDB
Copy link
Contributor

@IcePigZDB IcePigZDB commented Nov 23, 2021

Signed-off-by: IcePigZDB icepigzdb@gmail.com

First-time contributors' checklist

What is changed, added or deleted? (Required)

Support endKey in http interface regions/key and adjust the pdctl region command region startKey to region keysaccordingly. This is originally proposed as a precondition of the push down optimisation of infomation_schema.tikv_region_status.

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)
  • v5.4 (TiDB 5.4 versions)
  • v5.3 (TiDB 5.3 versions)
  • v5.2 (TiDB 5.2 versions)
  • v5.1 (TiDB 5.1 versions)
  • v5.0 (TiDB 5.0 versions)
  • v4.0 (TiDB 4.0 versions)
  • v3.1 (TiDB 3.1 versions)
  • v3.0 (TiDB 3.0 versions)
  • v2.1 (TiDB 2.1 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

@ti-chi-bot
Copy link
Member

ti-chi-bot commented Nov 23, 2021

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • TomShawn

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.

Details

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 do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. contribution This PR is from a community contributor. first-time-contributor Indicates that the PR was contributed by an external member and is a first-time contributor. labels Nov 23, 2021
@ti-chi-bot ti-chi-bot requested a review from TomShawn November 23, 2021 12:54
@ti-chi-bot ti-chi-bot added missing-translation-status This PR does not have translation status info. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 23, 2021
ref #tikv/pd/issues/4400

Signed-off-by: IcePigZDB <icepigzdb@gmail.com>

Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
@ti-chi-bot ti-chi-bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 29, 2021
Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
@IcePigZDB IcePigZDB marked this pull request as ready for review November 29, 2021 13:25
@ti-chi-bot ti-chi-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 29, 2021
@IcePigZDB
Copy link
Contributor Author

/cc @TomShawn

@shichun-0415 shichun-0415 added area/migrate Indicates that the Issue or PR belongs to the area of TiDB migration tools. translation/doing This PR's assignee is translating this PR. and removed missing-translation-status This PR does not have translation status info. area/migrate Indicates that the Issue or PR belongs to the area of TiDB migration tools. labels Mar 2, 2022
IcePigZDB and others added 2 commits March 9, 2022 18:35
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
@IcePigZDB
Copy link
Contributor Author

IcePigZDB commented Mar 9, 2022

@TomShawn All comments have been resolved. PR tikv/pd/pull/4674 change the default value of limit with EndKey to 16 too. I have open the corresponding Chinese document modification PR pingcap/docs-cn/pull/8607 , I will open the English version after thie PR merged and notify you, thanks very much.

@TomShawn
Copy link
Contributor

TomShawn commented Mar 10, 2022

@TomShawn All comments have been resolved. PR tikv/pd/pull/4674 change the default value of limit with EndKey to 16 too. I have open the corresponding Chinese document modification PR pingcap/docs-cn/pull/8607 , I will open the English version after thie PR merged and notify you, thanks very much.

Thanks! If the default value of limit with EndKey is changed to 16, maybe you can change the value right in this PR after the docs-cn PR 8670 is merged.

@TomShawn TomShawn added the needs-cherry-pick-release-5.4 Should cherry pick this PR to release-5.4 branch. label Mar 10, 2022
Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
@IcePigZDB
Copy link
Contributor Author

@TomShawn All comments have been resolved. PR tikv/pd/pull/4674 change the default value of limit with EndKey to 16 too. I have open the corresponding Chinese document modification PR pingcap/docs-cn/pull/8607 , I will open the English version after thie PR merged and notify you, thanks very much.

Thanks! If the default value of limit with EndKey is changed to 16, maybe you can change the value right in this PR after the docs-cn PR 8670 is merged.

Done.

@TomShawn
Copy link
Contributor

@IcePigZDB pingcap/docs-cn#8607 has been merged. Please sync it to this PR. Thanks!

@IcePigZDB
Copy link
Contributor Author

IcePigZDB commented Mar 10, 2022

@IcePigZDB pingcap/docs-cn#8607 has been merged. Please sync it to this PR. Thanks!

I checked again. It's synchronized in previous commit.

Copy link
Contributor

@TomShawn TomShawn 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

@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label Apr 12, 2022
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
@TomShawn
Copy link
Contributor

/merge

@ti-chi-bot
Copy link
Member

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

Details

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.

@TomShawn
Copy link
Contributor

/remove-status LGT1
/status LGT2

@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 May 13, 2022
@TomShawn
Copy link
Contributor

/merge

@ti-chi-bot
Copy link
Member

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

DetailsCommit hash: c3830a3

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label May 13, 2022
@ti-chi-bot ti-chi-bot merged commit 7c8cbf1 into pingcap:master May 13, 2022
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created: #8611.

@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created: #8612.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/scheduling Indicates that the Issue or PR belongs to the area of scheduling. contribution This PR is from a community contributor. first-time-contributor Indicates that the PR was contributed by an external member and is a first-time contributor. needs-cherry-pick-release-5.4 Should cherry pick this PR to release-5.4 branch. size/S Denotes a PR that changes 10-29 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. translation/from-docs-cn This PR is translated from a PR in pingcap/docs-cn.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants