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
Conversation
proto/debugpb.proto
Outdated
bytes key_encoded = 2; | ||
// An arbitrary key for retrieving value from TiKV. | ||
// Note: Server uses it directly w/o any encoding. | ||
bytes key = 2; |
There was a problem hiding this comment.
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.
proto/debugpb.proto
Outdated
@@ -51,7 +51,9 @@ enum CF { | |||
|
|||
message GetRequest { | |||
CF cf = 1; |
There was a problem hiding this comment.
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
proto/debugpb.proto
Outdated
// An arbitrary key for retrieving value from TiKV. | ||
// Note: Server uses it directly w/o any encoding. | ||
bytes key = 2; | ||
bytes key = 1; |
There was a problem hiding this comment.
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
.
LGTM |
LGTM. |
CC tikv/tikv#2299