Reputation: 23
I'm getting this error
RelationshipRecord[22] not in use
executing this command
start r=relationship(22)
delete r
when trying to delete a broken realtionship. With a broken relationship I mean with a deleted start node or destination node. For example I had this reltionship
(10)--->(11)
I deleted the node 11.
(10)--->
Now I want to delete the relationship but I'm getting the error mentioned above.
How can I fix this problem ?
Thanks
Upvotes: 2
Views: 414
Reputation: 23
The next day I started working with that the problem dissapeared... May be a cache in the webadmin ... or something similar.
Thanks for all!
Upvotes: 0
Reputation: 19373
Neo4j won't keep around hanging relations- so there will not be a case where you have
(10)--->
The relationship would have been deleted already, hence you get that error while trying to delete it again.
Upvotes: 6