-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Storage Crash when deleting vertex does not exist and vid length more than we define in space. #4397
Comments
If this worked, can i pull new request for this bug? |
@SuperYoko could you plz take a look at this? |
Maybe a verify in graph is needed too. Since @Sophie-Xie has add this to v3.2.0, I think it will be fixed soon. (And we have acctually met some crash with vid len check. : D, thanks for your help~) |
* When our space has tag index or edge index. * When delete vertex or edge, we specify one vid more than our defined in space. * The sotrage will be crashed. Solution: 1. Add vid valid verfication.
* When our space has tag index or edge index. * When delete vertex or edge, we specify one vid more than our defined in space. * The sotrage will be crashed. Solution: 1. Add vid valid verfication. Co-authored-by: Sophie <[email protected]>
* When our space has tag index or edge index. * When delete vertex or edge, we specify one vid more than our defined in space. * The sotrage will be crashed. Solution: 1. Add vid valid verfication. Co-authored-by: Sophie <[email protected]>
* Fix web service crash(issue:#4398) (#4405) * when we use flags put interface, but we does not specify the body. * The service will be crashed. For example: curl -X PUT xxx.xxx.xxx.xxxx:19559/flags * Fix delete vertex or edge, the storage crashed.(#4397) (#4406) * When our space has tag index or edge index. * When delete vertex or edge, we specify one vid more than our defined in space. * The sotrage will be crashed. Solution: 1. Add vid valid verfication. Co-authored-by: Sophie <[email protected]> * Release with separate debug info in ELF format (#4400) Co-authored-by: Milittle <[email protected]> Co-authored-by: dutor <[email protected]>
Storage Crash when deleting vertex does not exist and vid length more than we define in space.
How To Reproduce(required)
Steps to reproduce the behavior:
Step 1
Create one space: define vid length is 120.
create tag and create one index.(this bug need indexes in space.)
Step 2
delete vertex 'xxxx'
xxx length need more than vid length defined.
the storage will be dead.
I think we should add one verfication in the follow one line just like the second line:
one line:
nebula/src/storage/mutate/DeleteVerticesProcessor.cpp
Line 117 in 7a7ab68
second line:
nebula/src/storage/mutate/DeleteVerticesProcessor.cpp
Line 59 in 7a7ab68
The text was updated successfully, but these errors were encountered: