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

Remove persistent-space from TransactionManagerTestCase. #403

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jameshilliard
Copy link
Contributor

This doesn't appear to be used and sometimes causes test failures.

This doesn't appear to be used and sometimes causes test failures.
@ar
Copy link
Member

ar commented Mar 10, 2021

Can you show us which test error you are experiencing? It could be a good opportunity to fix an evasive bug.

@jameshilliard
Copy link
Contributor Author

@jameshilliard
Copy link
Contributor Author

Seems this is where it starts:

2021-03-09T22:17:15.9825130Z TransactionManagerTestCase > testFastAbort() STANDARD_ERROR
2021-03-09T22:17:15.9828593Z     Exception in thread "SystemMonitor" com.sleepycat.je.ThreadInterruptedException: (JE 18.3.12) txnmgrtest java.lang.InterruptedException THREAD_INTERRUPTED: InterruptedException may cause incorrect internal state, unable to continue. Environment is invalid and must be closed.
2021-03-09T22:17:15.9832089Z     	at com.sleepycat.je.latch.SharedLatchImpl.acquireShared(SharedLatchImpl.java:109)
2021-03-09T22:17:15.9835332Z     	at com.sleepycat.je.txn.TxnManager.registerTxn(TxnManager.java:213)
2021-03-09T22:17:15.9837852Z     	at com.sleepycat.je.txn.Txn.initTxn(Txn.java:399)
2021-03-09T22:17:15.9839479Z     	at com.sleepycat.je.txn.Txn.<init>(Txn.java:288)
2021-03-09T22:17:15.9841291Z     	at com.sleepycat.je.txn.Txn.<init>(Txn.java:267)
2021-03-09T22:17:15.9843086Z     	at com.sleepycat.je.txn.Txn.createLocalTxn(Txn.java:294)
2021-03-09T22:17:15.9844466Z     	at com.sleepycat.je.txn.Txn.createUserTxn(Txn.java:316)
2021-03-09T22:17:15.9858985Z     	at com.sleepycat.je.txn.TxnManager.txnBegin(TxnManager.java:199)
2021-03-09T22:17:15.9862447Z     	at com.sleepycat.je.dbi.EnvironmentImpl.txnBegin(EnvironmentImpl.java:2540)
2021-03-09T22:17:15.9864613Z     	at com.sleepycat.je.Environment.beginTransactionInternal(Environment.java:1498)
2021-03-09T22:17:15.9866408Z     	at com.sleepycat.je.Environment.beginTransaction(Environment.java:1383)
2021-03-09T22:17:15.9867706Z     	at org.jpos.space.JESpace.dump(JESpace.java:558)
2021-03-09T22:17:15.9868718Z     	at org.jpos.util.NameRegistrar.dump(NameRegistrar.java:153)
2021-03-09T22:17:15.9870392Z     	at org.jpos.q2.qbean.SystemMonitor.generateFrozenDump(SystemMonitor.java:241)
2021-03-09T22:17:15.9871944Z     	at org.jpos.q2.qbean.SystemMonitor.run(SystemMonitor.java:124)
2021-03-09T22:17:15.9872993Z     	at java.base/java.lang.Thread.run(Thread.java:844)
2021-03-09T22:17:15.9895422Z     Caused by: java.lang.InterruptedException
2021-03-09T22:17:15.9898135Z     	at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1365)
2021-03-09T22:17:15.9902059Z     	at java.base/java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.tryLock(ReentrantReadWriteLock.java:882)
2021-03-09T22:17:15.9904339Z     	at com.sleepycat.je.latch.SharedLatchImpl.acquireShared(SharedLatchImpl.java:103)
2021-03-09T22:17:15.9910057Z     	... 15 more

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

Successfully merging this pull request may close these issues.

2 participants