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

Add unique key info in slave proto #310

Merged
merged 4 commits into from
Dec 27, 2019
Merged

Conversation

july2993
Copy link
Contributor

What problem does this PR solve?

Add unique key info in slave proto
need by moiot/gravity#251

What is changed and how it works?

Add unique key info in slave proto

Check List

Tests

@suzaku
Copy link
Contributor

suzaku commented Dec 27, 2019

Where do we set this extra field?

@july2993
Copy link
Contributor Author

Where do we set this extra field?

by drainer.

// Key contains Key info.
message Key {
// name will be PRIMARY if it's the primary key.
optional string name = 1;
Copy link
Contributor

Choose a reason for hiding this comment

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

Align the comment and the lines below?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@Ryan-Git
Copy link

LGTM

Copy link
Contributor

@suzaku suzaku left a comment

Choose a reason for hiding this comment

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

LGTM

@july2993 july2993 merged commit 57985f1 into pingcap:master Dec 27, 2019
@july2993 july2993 deleted the add_uk branch December 27, 2019 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants