-
Notifications
You must be signed in to change notification settings - Fork 409
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
[FLASH-549/550/626] Remove obsoleted data in Engine DeltaMerge #292
[FLASH-549/550/626] Remove obsoleted data in Engine DeltaMerge #292
Conversation
JaySon-Huang
commented
Oct 23, 2019
•
edited
Loading
edited
- Update GC safe point to remove obsoleted data when doing Segment split / merge / delta-merge.
- When region removed, write a deleteRange to Engine DeltaMerge for deleting obsoleted data.
@@ -225,8 +225,6 @@ class DeltaMergeStore : private boost::noncopyable | |||
|
|||
Settings settings; | |||
|
|||
UInt64 min_version = 0; |
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.
We should keep this value here, and use a min_version_last_upate_time
to prevent frequently update this value.
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.
Ok.
And I add dm_safe_point_update_interval_seconds
in Settings with default 60 seconds (which is the same interval of TiKV)
5d16c9a
to
72155c7
Compare
/run-integration-tests |
2 similar comments
/run-integration-tests |
/run-integration-tests |
8cd9c93
to
4e99b57
Compare
/rebuild |
1 similar comment
/rebuild |
4e99b57
to
766a9f9
Compare
766a9f9
to
a8bdbd7
Compare
a8bdbd7
to
54c51ec
Compare
7257e74
to
d6e8b20
Compare
54c51ec
to
5e9b62f
Compare
LGTM |
Signed-off-by: Wish <breezewish@outlook.com>