-
Notifications
You must be signed in to change notification settings - Fork 392
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#2888] fix(core): Fix the possible concurrency for `KvGarbageCollect…
…or` (#2890) ### What changes were proposed in this pull request? Add a check mechanism in `KvGarbageCollector` to avoid removing uncommitted data wrote into kv storage a few seconds or minutes ago. ### Why are the changes needed? There is a potential that `KvGarbageCollector` will take normal data as uncommitted data and remove it. For more please see #2888 Fix: #2888 ### Does this PR introduce _any_ user-facing change? N/A. ### How was this patch tested? N/A.
- Loading branch information
Showing
1 changed file
with
17 additions
and
4 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