-
-
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
Custom Vertex Id (string) on non-existent vertex returns a new vertex #4433
Comments
@li-boxuan are you available to look into this? I think you have most knowledge in this area since you've implemented the support for custom string vertex IDs. |
@pdsway I cannot reproduce. Do you mind providing some screenshots? |
first. tyvm for trying! some notes...
|
forgot to mention... using the same JG instance, I can switch to a "normal" graph (with Long gremlin id) and perform the same test (searching for a V with non-existing id) and I get null (as expected). |
That sounds very weird as custom vertex IDs are not fundamentally different from auto-generated IDs. What if you set |
also strange (graph is empty so no V's should exist).... IMPORTANT: Discovered this is a side-effect of also setting |
I don't think a vertex is really created. Batch-loading disables consistency checks, so you are likely just seeing a temporary phantom vertex. |
Potential bug report when using custom vertex id's
Cannot check vertex existence via usual query because a non-existent vertex returns a new vertex instead of null as expected.
a. create a graph with custom vertex id (as string)
The text was updated successfully, but these errors were encountered: