custom vertex id (String) feature to avoid duplicate vertex
I have a graph(Backed with Cassandra and read/write consistency QUORUM) which will have Vertex property "recordId" and "type".
I have disable consistency locking on property say "recordId" in my graph, I see duplicate vertex getting created for same "recordId", due to concurrent writes.
Note - In above case we were not providing any custom vertex id, but relying in Janusgraph to generate vertex id.
Now, I'm using custom vertex id (String) feature to maintain consistency of vertex in my graph, where I say recordId=custom vertex id.
Questions -
If I use "recordId" as custom vertex id, I'm hoping that there will be no duplicate vertex created in graph with onsistency locking on property say "recordId". Is this fare understanding ?
I have disable consistency locking on property say "recordId" in my graph, I see duplicate vertex getting created for same "recordId", due to concurrent writes.
Note - In above case we were not providing any custom vertex id, but relying in Janusgraph to generate vertex id.
Now, I'm using custom vertex id (String) feature to maintain consistency of vertex in my graph, where I say recordId=custom vertex id.
Questions -
If I use "recordId" as custom vertex id, I'm hoping that there will be no duplicate vertex created in graph with onsistency locking on property say "recordId". Is this fare understanding ?