You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I was trying to fix #168 I was running MERGE (org:Org {orgId:$orgId}) which is supposed to be able to only create 1 node, their documentation even claims they have fancy locks and stuff. But a few times it managed to create 2 of the node, probably through some weird race condition. I don't think having the duplicates will break anything but doesn't hurt to add the constraints, I suspect that would even speed up the db?
The text was updated successfully, but these errors were encountered:
Documentation on constraints https://neo4j.com/docs/cypher-manual/current/administration/constraints/#administration-constraints-unique-nodes
As I was trying to fix #168 I was running
MERGE (org:Org {orgId:$orgId})
which is supposed to be able to only create 1 node, their documentation even claims they have fancy locks and stuff. But a few times it managed to create 2 of the node, probably through some weird race condition. I don't think having the duplicates will break anything but doesn't hurt to add the constraints, I suspect that would even speed up the db?The text was updated successfully, but these errors were encountered: