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

[#2888] fix(core): Fix the possible concurrency for KvGarbageCollector #2890

Merged
merged 2 commits into from
Apr 12, 2024

Conversation

yuqi1129
Copy link
Contributor

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.

@yuqi1129 yuqi1129 self-assigned this Apr 12, 2024
@jerryshao jerryshao merged commit 67f9eca into apache:main Apr 12, 2024
22 checks passed
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.

[Improvement] Possible concurrency issues for KvGrabageCollector
2 participants