Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
02-22-2022 02:53 AM
Hello,
My name is Ivan and while debugging deadlock issues I've come upon "NODE_RELATIONSHIP_GROUP_DELETE" resource type when calling:
CALL dbms.listActiveLocks(queryId)
I see that the resourceId is an <id> of a node, however I can neither find any explanation of what does this resourceType mean nor I can deduce what it's supposed to be?
Is there a documentation somewhere explaining all of the resource types ? I am interested in "DEGREES" resourceType as well.
10-20-2022 10:54 AM
Hello, this has to do with changes made to the structure of a node's relationships when it crosses the configured threshold for dense nodes (defaults are set at 50 relationships to be considered dense). Relationship groups are part of a relationship chain locks feature introduced with Neo4j 4.3.x, and aim to reduce the locking resources needed when performing relationship additions or removals on dense nodes.
We have a blog entry about this here:
https://neo4j.com/developer-blog/relationship-chain-locks-dont-block-the-rock/
All the sessions of the conference are now available online