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

OrientDB 3.0 issue with latest snapshot - com.orientechnologies.orient.core.exception.OConcurrentCreateException: Cannot create the record #17:0 because the assigned RID was #17:1 instead DB name="testdb" DB name="testdb" #7470

Closed
careerscale opened this issue Jun 6, 2017 · 12 comments
Assignees
Labels
Milestone

Comments

@careerscale
Copy link

OrientDB Version: 3.0 snapshot

Java Version: 1.8

OS: Win 7

Expected behavior

Should be able to retrieve and build edges with existing data.

Actual behavior

throws this error and fails. Resulting in application failing.
com.orientechnologies.orient.core.exception.OConcurrentCreateException: Cannot create the record #17:0 because the assigned RID was #17:1 instead
DB name="testdb"
DB name="testdb"

Steps to reproduce

create a db
https://github.com/careerscale/orientdb-demo/blob/master/orientdb-java-sample/src/test/resources/testdb.sql

run the tests.
https://github.com/careerscale/orientdb-demo/blob/1d34326456df2f249a216044f147df4d5101579f/orientdb-java-sample/src/test/java/com/orientdb/samples/test/EmployeeCascadeTest.java

Run again this test testDbTransactionOperations_Working

This fails.

we are blocked with this and any quick help will unblock our team.

Thanks.
Harinath

@careerscale
Copy link
Author

@maggiolo00 @lvca can you please prioritize this one and I am available for any additional informaiton.

@wolf4ood
Copy link
Member

wolf4ood commented Jun 6, 2017

Hi @careerscale

let me check it

Thanks

@wolf4ood
Copy link
Member

wolf4ood commented Jun 6, 2017

Hi @careerscale

i've tested it and i got no exception.

Which exception did you get?

@careerscale
Copy link
Author

com.orientechnologies.orient.core.exception.OConcurrentCreateException: Cannot create the record #17:0 because the assigned RID was #17:1 instead DB name="testdb" DB name="testdb"

and nothing much, but result is it doesn't work. it doesnt create data.

@wolf4ood
Copy link
Member

wolf4ood commented Jun 6, 2017

ok i got it on the second round

@careerscale
Copy link
Author

correct. you got it

@careerscale
Copy link
Author

@maggiolo00 is this going to be trivial fix or will it take longer time?

@wolf4ood
Copy link
Member

wolf4ood commented Jun 6, 2017

hi @careerscale

i'm running tests now for the fix. I will keep you updated

@wolf4ood wolf4ood self-assigned this Jun 6, 2017
@wolf4ood wolf4ood added the bug label Jun 6, 2017
@wolf4ood wolf4ood added this to the 3.0.0-M2 milestone Jun 6, 2017
@careerscale
Copy link
Author

Thank you @maggiolo00

wolf4ood added a commit that referenced this issue Jun 6, 2017
@wolf4ood
Copy link
Member

wolf4ood commented Jun 6, 2017

Hi @careerscale

i've provided a fix with a test case in develop.
Your test case now passes
Thanks

@wolf4ood wolf4ood closed this as completed Jun 6, 2017
@careerscale
Copy link
Author

This worked fine but there is no snapshot yet

@luigidellaquila
Copy link
Member

Hi @careerscale

The snapshot is not being generated because we have a couple of failing tests.
We are working to fix them, so the snapshot will likely be available in a few hours

Thanks

Luigi

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

No branches or pull requests

4 participants