Skip to content

Conversation

@philmcmahon
Copy link
Contributor

@philmcmahon philmcmahon commented Nov 13, 2025

What does this change?

There is something strange going on with uploads to certain workspaces on PROD - we get an error like this:

org.neo4j.driver.v1.exceptions.ClientException: Node(123) already exists with label WorkspaceNodeand propertyid = 'id123'

The CREATE within this query should only ever be executed once for each nodeId, but the above error is making me wonder whether somehow it is being executed twice.

I don't want to leave this change in permanently, but in the short term it could help unblock uploads to these workspaces, and I think seems harmless.

How to test

Deploy to PROD, check if it fixes issues with the relevant workspaces

@philmcmahon philmcmahon requested a review from a team as a code owner November 13, 2025 14:59
@philmcmahon philmcmahon changed the title Pm merge not create MERGE rather than CREATE in addResourceToWorkspaceFolder Nov 13, 2025
Copy link
Contributor

@twrichards twrichards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if this is the problem, looks like it's been the case for 4 years

@philmcmahon
Copy link
Contributor Author

Replaced by #428

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants