Abortion of a transaction invalidates databases
577765May 15 2007 — edited May 16 2007Sometimes, 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.