-
Notifications
You must be signed in to change notification settings - Fork 350
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#1276] improvment(core): Optimize logic about dropping old version o…
…f data in KvGcCollector (#2918) ### What changes were proposed in this pull request? Introduce a variable to mark the last transaction ID and perform the GC from the last transaction ID next time to fulfill `incremental GC`. ### Why are the changes needed? Full GC for the old version of the data takes a lot of time, we'd better not use this method. Fix: #1276 ### Does this PR introduce _any_ user-facing change? N/A. ### How was this patch tested? Existing tests and test locally.
- Loading branch information
Showing
3 changed files
with
197 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters