Skip to content
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

pdpb: add ScanRegions #396

Merged
merged 4 commits into from
May 16, 2019
Merged

pdpb: add ScanRegions #396

merged 4 commits into from
May 16, 2019

Conversation

disksing
Copy link
Contributor

Signed-off-by: disksing i@disksing.com

@disksing disksing requested a review from MyonKeminta May 14, 2019 08:14
MyonKeminta
MyonKeminta previously approved these changes May 14, 2019
Copy link
Contributor

@MyonKeminta MyonKeminta left a comment

Choose a reason for hiding this comment

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

LGTM

proto/pdpb.proto Outdated Show resolved Hide resolved
Signed-off-by: disksing <i@disksing.com>
Signed-off-by: disksing <i@disksing.com>
message ScanRegionsResponse {
ResponseHeader header = 1;
repeated metapb.Region regions = 2;
repeated metapb.Peer leaders = 3;
Copy link
Contributor

Choose a reason for hiding this comment

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

How about region has no leader?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It will add empty value to make regions and leaders are matched.

Signed-off-by: disksing <i@disksing.com>
@disksing disksing requested review from zhangjinpeng87 and MyonKeminta and removed request for zhangjinpeng87 May 14, 2019 11:40
Signed-off-by: disksing <i@disksing.com>
@disksing disksing requested a review from MyonKeminta May 14, 2019 11:44
Copy link
Contributor

@zhangjinpeng87 zhangjinpeng87 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@MyonKeminta MyonKeminta left a comment

Choose a reason for hiding this comment

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

LGTM

@zhangjinpeng87 zhangjinpeng87 merged commit 4cf58ad into pingcap:master May 16, 2019
@zhangjinpeng87
Copy link
Contributor

@disksing Please cherry-pick to release-3.0 branch, thx.

@disksing disksing mentioned this pull request May 16, 2019
@disksing disksing deleted the scan-regions branch May 21, 2019 03:59
sticnarf pushed a commit to sticnarf/kvproto that referenced this pull request Oct 27, 2019
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.

3 participants