-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Gremlin Error: "Record Not Found" after dropped a vertex. Simple reproducible example. #1328
Comments
Thanks @JoJ123 for your detailed report. I'm unable to reproduce your issue. I executed both gremlin queries and after the drop this is what I got (on studio): And I don't see any error in the console. Do you have a particular query you're executing that returns the error? |
Hi @lvca, Anyway using a UI Tool like gdotv or even the gremlin Node.JS Client the issue is still happening for me. This is the error log when I'm execution g.V() after the drop, there is not error at all for the drop: The error is saying record not found and the id of this record is If I split the query into two queries instead of two |
It's like the vertex was deleted but not the connected edges. I'm going to try with that piece of code using remote gremlin client instead of studio (that execute the whole code server side). |
This issue has been fixed in the latest release. |
ArcadeDB Version:
ArcadeDB Server v23.10.1-SNAPSHOT (build 186c0adb0743a94a733a512d31a17901d174f3bb/1695791343005/main)
From Docker Image
OS and JDK Version:
Running on Linux 5.10.102.1-microsoft-standard-WSL2 - OpenJDK 64-Bit Server VM 11.0.20.1 (Temurin-11.0.20.1+1)
Expected behavior
Query remaining vertexes possible after dropped another vertext
Actual behavior
Getting an Error: org.apache.tinkerpop.gremlin.driver.exception.ResponseException: Record #13:0 not found
My first analysis is, that it's happening if you drop a vertex that is having more than one incoming edge.
Steps to reproduce
Run the following gremlin query (Copy & Paste). I use gdotv for fast testing.
You will have the following graph:

Execute the following gremlin query to remove
r4
fromr5
and all incoming vertexes with the labelP
:The drop itself will execute without an error. But afterwards you are not able anymore to query the database:
Getting an Error: org.apache.tinkerpop.gremlin.driver.exception.ResponseException: Record #13:0 not found
Second Issue (which is linked)
The above delete query is not working if you remove the select part of the query. Maybe this is related to gremlin not sure, but I wanted to add that here.
The text was updated successfully, but these errors were encountered: