You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the other 2 raise OConcurrentModificationException
one of the remaining completes
the other raises ORecordNotFoundException
What should happen
Once the last thread tries to commit, either it succeed or it should fail with an OConcurrentModificationException.
The ORecordNotFoundException suggests that the rollback operation had not any effect, and instead the node was previously removed even tough we had an OConcurrentModificationException.
P.S.
Using plocal: the correct sequence of Exceptions is raised
The text was updated successfully, but these errors were encountered:
Hi @wolf4ood,
the code i posted is part of a much bigger framework which I cannot share at the moment.
Nevertheless, I extracted for you all the relevant code: https://pastebin.com/9E45Z7G0 .
Then you will need just a main function, imports, and the following deps:
Version:
3.0.27
Java-gremlin api
Connection mode: remote
Goal
Context
GraphTraversalSource
generated asWhat happens
OConcurrentModificationException
ORecordNotFoundException
What should happen
Once the last thread tries to commit, either it succeed or it should fail with an
OConcurrentModificationException
.The
ORecordNotFoundException
suggests that therollback
operation had not any effect, and instead thenode
was previously removed even tough we had anOConcurrentModificationException
.P.S.
Using
plocal:
the correct sequence of Exceptions is raisedThe text was updated successfully, but these errors were encountered: