Date
1 - 4 of 4
Duplicate Vertex
Hello
We are on Janus 0.4.0 and faced one scenario wherein there were duplicate vertices created. These 2 vertices were created in span of 9 milliseconds within single transaction. We are using index for looking up V in the graph. The vertex is identified by 2 identifiers/properties prop1, prop2 and there are other properties. There are property matches to check if the vertex is already present then accordingly create or update the vertex. There are two property matches to check for vertex existence.
The first vertex got created with property match, t1
Could this be issue not able to read in-memory cache? Are there known issues in this area where index is not being returned resulting into this issue? Thanks Dev |
|
Boxuan Li
Hi, can you share more details (what indexes do you have related to prop1 and/or prop2), or even minimal code to reproduce?
toggle quoted message
Show quoted text
|
|
kumkar.dev@...
Hi Boxuan Li,
Hope this helps: ---------------------------------------------------------------------------------------------------
Vertex Index Name | Type | Unique | Backing | Key: Status |
---------------------------------------------------------------------------------------------------
by_prop1 | Composite | false | internalindex | prop1: ENABLED |
by_prop2 | Composite | false | internalindex | prop2 : ENABLED |
- Dev |
|
Boxuan Li
I couldn't reproduce this on the v0.4 branch using the below code:
|
|