-
Notifications
You must be signed in to change notification settings - Fork 312
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
feat: add base classes for user-specified compaction #731
Conversation
Better to add a proposal for this feature, even a Chinese doc. |
I agree with @acelyc111 , expecting your proposal and detailed descriptions and comments. |
virtual ~compaction_filter_rule() = default; | ||
|
||
// TODO(zhaoliwei): we can use `value_filed` to replace existing_value in the later, | ||
// after the refactor of value schema |
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.
The refactor of value schema has already been merged, you can update it in next pull request :-)
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.
Yes, I will refactor it in the later
What problem does this PR solve?
RFC: #738
Add base classes for user-specified compaction.
compaction_operation
represents the compaction operation, such as update ttl/delete keycompaction_filter_rule
represents the compaction rule to filter the keys which are stored in rocksdb.Checklist
Tests