-
Notifications
You must be signed in to change notification settings - Fork 727
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
api,pd-ctl: support endKey in ScanRegions http interface #4400
Labels
type/enhancement
The issue or PR belongs to an enhancement.
Comments
This was referenced Nov 29, 2021
IcePigZDB
added a commit
to IcePigZDB/pd
that referenced
this issue
Nov 29, 2021
ref tikv#4400 Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
IcePigZDB
added a commit
to IcePigZDB/pd
that referenced
this issue
Nov 29, 2021
ref tikv#4400 Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
IcePigZDB
added a commit
to IcePigZDB/pd
that referenced
this issue
Nov 29, 2021
ref tikv#4400 Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
IcePigZDB
added a commit
to IcePigZDB/pd
that referenced
this issue
Nov 29, 2021
ref tikv#4400 Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
IcePigZDB
added a commit
to IcePigZDB/pd
that referenced
this issue
Nov 29, 2021
ref tikv#4400 Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
5 tasks
IcePigZDB
added a commit
to IcePigZDB/pd
that referenced
this issue
Nov 29, 2021
ref tikv#4400 Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
IcePigZDB
added a commit
to IcePigZDB/docs
that referenced
this issue
Nov 29, 2021
ref #tikv/pd/issues/4400 Signed-off-by: IcePigZDB <icepigzdb@gmail.com> Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
This was referenced Nov 29, 2021
IcePigZDB
added a commit
to IcePigZDB/pd
that referenced
this issue
Feb 24, 2022
ref: tikv#4400 Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
ti-chi-bot
added a commit
that referenced
this issue
Mar 2, 2022
ref #4400 Signed-off-by: IcePigZDB <icepigzdb@gmail.com> Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
16 tasks
16 tasks
ti-chi-bot
pushed a commit
to ti-chi-bot/docs
that referenced
this issue
May 13, 2022
ref #tikv/pd/issues/4400 Signed-off-by: IcePigZDB <icepigzdb@gmail.com> Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
15 tasks
ti-chi-bot
pushed a commit
to ti-chi-bot/docs
that referenced
this issue
May 13, 2022
ref #tikv/pd/issues/4400 Signed-off-by: IcePigZDB <icepigzdb@gmail.com> Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
15 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Development Task
Tracking Issue: pingcap/tidb/pull/28330
Support endKey in http interface
regions/key
and adjust the pdctl region commandregion startKey
toregion keys
accordingly. This is originally proposed as a precondition of the push down optimisation ofinfomation_schema.tikv_region_status
.ScanRegions
http interface api,pd-ctl: support endKey in ScanRegions http interface #4142ScanRegions
http interface api,pd-ctl: foramte scanRegions api and fix a index out of range bug in relevant pdctl command #4371Previous code is involved in v5.4.0.
In the current implementation of
scanRegions
, the default limit isdefaultRegionLimit(16)
withoutendkey
andnoRegionLimit(-1)
withendkey
.startKey = a
,endKey = ""
try to get all regions in[a, )
, the default limit isdefaultRegionLimit(16)
, need to setlimit = -1
to get all regions, this is inconsistent with the case whereendKey
is not empty.endKey
may cause a lot of network IO cost.For these two reasons, tend to set the default limit with
endKey
todefaultRegionLimit(16)
the same as withoutendKey
. One can setlimit = -1
to get all regions.The text was updated successfully, but these errors were encountered: