Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unbind relations only when the entity is not recently created #254

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

i110
Copy link

@i110 i110 commented Aug 26, 2022

If I'm not missing anything, moveNodeTo method doesn't need to be called for recently created entities. It issues DELETE query which causes performance issue from time to time, and even worse, deadlocks on some RDBs (e.g. mysql) because of gap lock. This PR stops calling that function by looking at newly added created state.

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.

None yet

1 participant