Skip to content

Conversation

@ZenoTan
Copy link

@ZenoTan ZenoTan commented Oct 10, 2020

Signed-off-by: ZenoTan zenotan1998@gmail.com

What problem does this PR solve?

What is changed and how it works?

Check List

Tests

  • Unit test

Code changes

Side effects

Related changes

HunDunDM and others added 16 commits September 25, 2020 16:07
Signed-off-by: jyz0309 <45495947@qq.com>
Signed-off-by: JmPotato <ghzpotato@gmail.com>
Signed-off-by: JmPotato <ghzpotato@gmail.com>
* pdctl: add state filter support in store command

Signed-off-by: Zheming Li <nkdudu@126.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Song Gao <disxiaofei@163.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Song Gao <disxiaofei@163.com>
Signed-off-by: disksing <i@disksing.com>
Signed-off-by: JmPotato <ghzpotato@gmail.com>
Signed-off-by: longfangsong <longfangsong@icloud.com>
…s metrics (tikv#3031)

Signed-off-by: lhy1024 <admin@liudos.us>
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Copy link
Owner

@nolouch nolouch left a comment

Choose a reason for hiding this comment

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

Could you add a test?


// CreatePromoteLearnerOperator creates an operator that promotes a learner.
func CreatePromoteLearnerOperator(desc string, cluster opt.Cluster, region *core.RegionInfo, peer *metapb.Peer) (*Operator, error) {
if region.GetPendingPeer(peer.GetId()) != nil {
Copy link
Owner

Choose a reason for hiding this comment

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

This check is more reasonable in the builder.

Signed-off-by: Song Gao <disxiaofei@163.com>
ZenoTan and others added 2 commits October 10, 2020 18:20
Signed-off-by: ZenoTan <zenotan1998@gmail.com>
ZenoTan and others added 8 commits October 12, 2020 16:45
Signed-off-by: ZenoTan <zenotan1998@gmail.com>
Signed-off-by: ZenoTan <zenotan1998@gmail.com>
Signed-off-by: ZenoTan <zenotan1998@gmail.com>
Signed-off-by: ZenoTan <zenotan1998@gmail.com>
Signed-off-by: Zheming Li <nkdudu@126.com>
Signed-off-by: JmPotato <ghzpotato@gmail.com>
Signed-off-by: ZenoTan <zenotan1998@gmail.com>
Signed-off-by: ZenoTan <zenotan1998@gmail.com>
Signed-off-by: ZenoTan <zenotan1998@gmail.com>
Signed-off-by: ZenoTan <zenotan1998@gmail.com>
nolouch pushed a commit that referenced this pull request Dec 30, 2022
server: Add `approixmateKvSize` fro `RegionInfo` to use for TiDB ratelimit
nolouch pushed a commit that referenced this pull request Feb 24, 2023
Signed-off-by: zeminzhou <zhouzemin@pingcap.com>
Signed-off-by: disksing <i@disksing.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.