-
Notifications
You must be signed in to change notification settings - Fork 378
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
[Improvement] The semantics of delete operation for relational storage should be aligned with kv storage #3092
Milestone
Comments
Yeah, the JDBC backend will throw |
I will open a PR to hot fix this problem. |
yuqi1129
pushed a commit
that referenced
this issue
May 9, 2024
…w a `NoSuchEntityException` (#3100) ### What changes were proposed in this pull request? When Relational Entity Store deleteing an entity and throwing a NoSuchEntityException, return false finally. It's consistent with KV Store. ### Why are the changes needed? Fix: #3092 ### How was this patch tested? Add some duplicate deleted uts. --------- Co-authored-by: xiaojiebao <[email protected]>
github-actions bot
pushed a commit
that referenced
this issue
May 9, 2024
…w a `NoSuchEntityException` (#3100) ### What changes were proposed in this pull request? When Relational Entity Store deleteing an entity and throwing a NoSuchEntityException, return false finally. It's consistent with KV Store. ### Why are the changes needed? Fix: #3092 ### How was this patch tested? Add some duplicate deleted uts. --------- Co-authored-by: xiaojiebao <[email protected]>
yuqi1129
added
0.5.1
Release v0.5.1
0.6.0
Release v0.6.0
bug
Something isn't working
and removed
improvement
Improvements on everything
labels
May 9, 2024
yuqi1129
pushed a commit
that referenced
this issue
May 9, 2024
…w a `NoSuchEntityException` (#3311) ### What changes were proposed in this pull request? When Relational Entity Store deleteing an entity and throwing a NoSuchEntityException, return false finally. It's consistent with KV Store. ### Why are the changes needed? Fix: #3092 ### How was this patch tested? Add some duplicate deleted uts. Co-authored-by: xloya <[email protected]> Co-authored-by: xiaojiebao <[email protected]>
diqiu50
pushed a commit
to diqiu50/gravitino
that referenced
this issue
Jun 13, 2024
…g throw a `NoSuchEntityException` (apache#3100) ### What changes were proposed in this pull request? When Relational Entity Store deleteing an entity and throwing a NoSuchEntityException, return false finally. It's consistent with KV Store. ### Why are the changes needed? Fix: apache#3092 ### How was this patch tested? Add some duplicate deleted uts. --------- Co-authored-by: xiaojiebao <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What would you like to be improved?
Currently, for kv storage, the delete operation will return false if the key doesn't exist. Whereas, for relational store, it will throw an
NoSuchEntityException
, we should aligh relational store with kv store.How should we improve?
No response
The text was updated successfully, but these errors were encountered: