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

tikvrpc: support batch split #440

Merged
merged 3 commits into from
Aug 21, 2019
Merged

tikvrpc: support batch split #440

merged 3 commits into from
Aug 21, 2019

Conversation

disksing
Copy link
Contributor

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

Signed-off-by: disksing <i@disksing.com>
@@ -487,12 +487,14 @@ message MvccGetByStartTsResponse {
message SplitRegionRequest {
Context context = 1;
bytes split_key = 2;
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we can change it repeated instead of adding a new filed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

em, seems not a good idea. If new tidb connects to an old tikv, tikv will silently split the region into 2 with no error.

Copy link
Member

Choose a reason for hiding this comment

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

Could you mark it deprecated?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good idea

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done @overvenus

@disksing
Copy link
Contributor Author

Ping @overvenus @zimulala

Copy link

@zimulala zimulala left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: disksing <i@disksing.com>
@disksing disksing merged commit 6a30a83 into pingcap:master Aug 21, 2019
@disksing disksing deleted the batch-split branch August 21, 2019 07:47
disksing added a commit that referenced this pull request Sep 16, 2019
* tikvrpc: support batch split (#440)

Signed-off-by: disksing <i@disksing.com>
sticnarf pushed a commit to sticnarf/kvproto that referenced this pull request Oct 27, 2019
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.

3 participants