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

tiflash: Add TiFlash compaction RPC and messages #918

Merged
merged 6 commits into from
May 17, 2022
Merged

Conversation

breezewish
Copy link
Member

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 .

message CompactErrorTooManyPendingTasks {}

message CompactRequest {
// If specified, the compaction will be performed starting from this start key.
Copy link
Contributor

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

Copy link
Member Author

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.

Copy link
Contributor

@JaySon-Huang JaySon-Huang left a 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

@flowbehappy flowbehappy self-requested a review May 17, 2022 08:22
@breezewish breezewish merged commit 12e2f5a into master May 17, 2022
@breezewish breezewish deleted the tiflash-compact branch May 17, 2022 08:58
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