New issue 113 by sergey.scherbina: Concurrent threads change DB schema
http://code.google.com/p/sqljet/issues/detail?id=113
Concurrent threads change DB schema
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
Thread 1 throws exception
org.tmatesoft.sqljet.core.SqlJetException: SCHEMA: error code is SCHEMA
at
org.tmatesoft.sqljet.core.internal.table.SqlJetOptions.verifySchemaVersion(SqlJetOptions.java:261)
at
org.tmatesoft.sqljet.core.table.SqlJetDb.beginTransaction(SqlJetDb.java:326)
at
org.tmatesoft.sqljet.core.table.SqlJetDb$6.runWithLock(SqlJetDb.java:299)
at org.tmatesoft.sqljet.core.table.SqlJetDb.runWithLock(SqlJetDb.java:212)
at
org.tmatesoft.sqljet.core.table.SqlJetDb.runTransaction(SqlJetDb.java:294)
at
org.tmatesoft.sqljet.core.table.SqlJetDb.runWriteTransaction(SqlJetDb.java:266)
at
org.tmatesoft.svn.core.internal.io.fs.repcache.FSRepresentationCacheManager$1.runWithLock(FSRepresentationCacheManager.java:90)
at org.tmatesoft.sqljet.core.table.SqlJetDb.runWithLock(SqlJetDb.java:212)
at
org.tmatesoft.svn.core.internal.io.fs.repcache.FSRepresentationCacheManager.checkFormat(FSRepresentationCacheManager.java:85)
at
org.tmatesoft.svn.core.internal.io.fs.repcache.FSRepresentationCacheManager.openRepresentationCache(FSRepresentationCacheManager.java:57)
at
org.tmatesoft.svn.core.internal.io.fs.repcache.FSRepresentationCacheManagerFactory.openRepresentationCache(FSRepresentationCacheManagerFactory.java:41)
at
org.tmatesoft.svn.core.internal.io.fs.FSRepresentationCacheUtil.open(FSRepresentationCacheUtil.java:69)
at org.tmatesoft.svn.core.internal.io.fs.FSFS.openDB(FSFS.java:248)
at org.tmatesoft.svn.core.internal.io.fs.FSFS.open(FSFS.java:170)
at
org.tmatesoft.svn.core.internal.io.fs.FSRepository.openRepositoryRoot(FSRepository.java:775)
at
org.tmatesoft.svn.core.internal.io.fs.FSRepository.openRepository(FSRepository.java:742)
at
org.tmatesoft.svn.core.internal.io.fs.FSRepository.testConnection(FSRepository.java:90)
at
org.tmatesoft.svn.core.io.SVNRepository.getRepositoryRoot(SVNRepository.java:319)
at
org.tmatesoft.svn.core.wc.SVNCommitClient.doCommit(SVNCommitClient.java:1000)
at
org.tmatesoft.svn.core.wc.SVNCommitClient.doCommit(SVNCommitClient.java:895)
at
org.tmatesoft.svn.core.wc.SVNCommitClient.doCommit(SVNCommitClient.java:827)
at Tests$CommitTestThread.run(Tests.java:238)
...
Thread 2 throws exception
org.tmatesoft.sqljet.core.SqlJetException: EMPTY: error code is EMPTY
at
org.tmatesoft.sqljet.core.internal.btree.SqlJetBtreeCursor.<init>(SqlJetBtreeCursor.java:228)
at
org.tmatesoft.sqljet.core.internal.btree.SqlJetBtree.getCursor(SqlJetBtree.java:2231)
at
org.tmatesoft.sqljet.core.internal.table.SqlJetBtreeTable.init(SqlJetBtreeTable.java:103)
at
org.tmatesoft.sqljet.core.internal.table.SqlJetBtreeTable.<init>(SqlJetBtreeTable.java:76)
at
org.tmatesoft.sqljet.core.internal.schema.SqlJetSchema.init(SqlJetSchema.java:106)
at
org.tmatesoft.sqljet.core.internal.schema.SqlJetSchema.<init>(SqlJetSchema.java:100)
at
org.tmatesoft.sqljet.core.table.SqlJetDb$1.runWithLock(SqlJetDb.java:112)
at org.tmatesoft.sqljet.core.table.SqlJetDb.runWithLock(SqlJetDb.java:212)
at org.tmatesoft.sqljet.core.table.SqlJetDb.<init>(SqlJetDb.java:106)
at org.tmatesoft.sqljet.core.table.SqlJetDb.open(SqlJetDb.java:131)
at
org.tmatesoft.svn.core.internal.io.fs.repcache.FSRepresentationCacheManager.openRepresentationCache(FSRepresentationCacheManager.java:56)
at
org.tmatesoft.svn.core.internal.io.fs.repcache.FSRepresentationCacheManagerFactory.openRepresentationCache(FSRepresentationCacheManagerFactory.java:41)
at
org.tmatesoft.svn.core.internal.io.fs.FSRepresentationCacheUtil.open(FSRepresentationCacheUtil.java:69)
at org.tmatesoft.svn.core.internal.io.fs.FSFS.openDB(FSFS.java:248)
at org.tmatesoft.svn.core.internal.io.fs.FSFS.open(FSFS.java:170)
at
org.tmatesoft.svn.core.internal.io.fs.FSRepository.openRepositoryRoot(FSRepository.java:775)
at
org.tmatesoft.svn.core.internal.io.fs.FSRepository.openRepository(FSRepository.java:742)
at
org.tmatesoft.svn.core.internal.io.fs.FSRepository.testConnection(FSRepository.java:90)
at
org.tmatesoft.svn.core.io.SVNRepository.getRepositoryRoot(SVNRepository.java:319)
at
org.tmatesoft.svn.core.wc.SVNCommitClient.doCommit(SVNCommitClient.java:1000)
at
org.tmatesoft.svn.core.wc.SVNCommitClient.doCommit(SVNCommitClient.java:895)
at
org.tmatesoft.svn.core.wc.SVNCommitClient.doCommit(SVNCommitClient.java:827)
at Tests$CommitTestThread.run(Tests.java:238)
--