-
Notifications
You must be signed in to change notification settings - Fork 616
Bug in connecting objects #2318
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
Comments
Could you please tell us which version are you using? Edit: Found the link...nvm. |
I cannot really reproduce your issue. Always getting the relationship created without any changes to your code. |
We have encountered it on three different computers. Windows and Linux. Neo4j 4.3.2 and 4.3.1 (embedded) and 4.2.1 (Neo4j Desktop). The The results are non-deterministic. Maybe, a 0 happens in your system after several runs. |
I can see the problem now. Just re-ran it and at least with a 30/70 ratio it is reproducible. |
It would be helpful if you could give
To get the snapshot you would have to add Spring's repositories to your application:
|
It seems that the problem is solved. Thank you. |
Thanks for your feedback. Will merge this now into 6.1.x for the 6.1.3 patch and main. |
It seems that there is something wrong which causes this code to behave nondeterministically and sometimes wrong.
a
has a membercs
which includes aC
object. However, sometimes a link is created betweena
andc
(thus, printing 1) and sometimes no link is created between them (thus, printing 0).Just run the code several times and see what is printed.
The text was updated successfully, but these errors were encountered: