-
Notifications
You must be signed in to change notification settings - Fork 221
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
tiflash: Add TiFlash compaction RPC and messages #918
Conversation
proto/kvrpcpb.proto
Outdated
message CompactErrorTooManyPendingTasks {} | ||
|
||
message CompactRequest { | ||
// If specified, the compaction will be performed starting from this start key. |
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.
Add comments about the behavior when the start_key is not set
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.
Thanks for the suggestion! More comments have been added to important fields.
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.
LGTM with small comments
Note: The TiFlash Compaction API looks very differently compared to TiKV's. So that we should move these things out when we are going through #912 .