Skip to Main Content

Berkeley DB Family

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Abortion of a transaction invalidates databases

577765May 15 2007 — edited May 16 2007
Sometimes, after a transaction is aborted, attempt to put data is followed by the exception:

com.sleepycat.je.DatabaseException: (JE 3.2.21) Can't call Database.put Database state can't be DbState.INVALID must be DbState.OPEN
at com.sleepycat.je.Database.checkRequiredDbState(Database.java:1069)
at com.sleepycat.je.Database.put(Database.java:604)
...

At the moment of abortion, all cursors are closed, and abort() throws nothing, but some databases become "invalidated" and can't be reused. It is reproducible in the single thread. I have no idea what is wrong? Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 13 2007
Added on May 15 2007
8 comments
1,236 views