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

[#780] improvment(core): Remove RW lock in KvEntityStore as #779 has guaranteed thread safe. #2311

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

yuqi1129
Copy link
Contributor

What changes were proposed in this pull request?

Remove the RW lock that guard concurrent issues in KvEntityStore.

Why are the changes needed?

#779 has introduced tree lock to guarantee thread-safe, so we can remove it.

Fix: #780

Does this PR introduce any user-facing change?

N/A.

How was this patch tested?

Existing tests can cover it.

@yuqi1129 yuqi1129 added this to the Gravitino 0.5.0 milestone Feb 22, 2024
@yuqi1129 yuqi1129 self-assigned this Feb 22, 2024
@jerryshao jerryshao removed this from the Gravitino 0.5.0 milestone Feb 22, 2024
@jerryshao
Copy link
Contributor

Merging to master, thanks @yuqi1129 for your contribution.

@jerryshao jerryshao merged commit 15e8a4e into apache:main Feb 22, 2024
12 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.

Remove the lock mechanism in RocksDB
2 participants