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

debugpb: rename some fields #195

Merged
merged 5 commits into from Sep 20, 2017
Merged

debugpb: rename some fields #195

merged 5 commits into from Sep 20, 2017

Conversation

overvenus
Copy link
Member

bytes key_encoded = 2;
// An arbitrary key for retrieving value from TiKV.
// Note: Server uses it directly w/o any encoding.
bytes key = 2;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think a db field is necessary.

@@ -51,7 +51,9 @@ enum CF {

message GetRequest {
CF cf = 1;
Copy link
Contributor

Choose a reason for hiding this comment

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

Use string is more flexible.

 - Replace CF with string
 - Remove enum CF
 - Add enum DB
 - More detailed size response
// An arbitrary key for retrieving value from TiKV.
// Note: Server uses it directly w/o any encoding.
bytes key = 2;
bytes key = 1;
Copy link
Contributor

Choose a reason for hiding this comment

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

Please keep it in the order db, cf then key.

@BusyJay
Copy link
Contributor

BusyJay commented Sep 20, 2017

LGTM

@hicqu
Copy link
Contributor

hicqu commented Sep 20, 2017

LGTM.

@overvenus overvenus merged commit 55f1e12 into master Sep 20, 2017
@overvenus overvenus deleted the ov/debugger branch September 20, 2017 10:52
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.

None yet

3 participants