[
https://issues.jboss.org/browse/ISPN-5834?page=com.atlassian.jira.plugin....
]
Gustavo Fernandes updated ISPN-5834:
------------------------------------
Status: Pull Request Sent (was: Coding In Progress)
Git Pull Request:
https://github.com/infinispan/infinispan/pull/3741
LockObtainFailedException thrown in query testsuite
---------------------------------------------------
Key: ISPN-5834
URL:
https://issues.jboss.org/browse/ISPN-5834
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Query
Affects Versions: 8.1.0.Alpha1
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
Fix For: 8.1.0.CR1
Happening on {{IndexCacheStopTest#testIndexingMultipleDirectoriesOnSameCache}} apparently
since migration to Lucene 5
{code}
3218 [ERROR] LogErrorHandler: HSEARCH000058: Exception occurred
org.apache.lucene.store.LockObtainFailedException: lock instance already assigned
Primary Failure:
Entity org.infinispan.query.test.Person Id I:0 Work Type
org.hibernate.search.backend.UpdateLuceneWork
org.apache.lucene.store.LockObtainFailedException: lock instance already assigned
at
org.infinispan.lucene.impl.CommonLockObtainUtils.failLockAcquire(CommonLockObtainUtils.java:33)
~[classes/:?]
at
org.infinispan.lucene.impl.CommonLockObtainUtils.attemptObtain(CommonLockObtainUtils.java:20)
~[classes/:?]
at org.infinispan.lucene.impl.BaseLockFactory.obtainLock(BaseLockFactory.java:34)
~[classes/:?]
at org.infinispan.lucene.impl.BaseLockFactory.obtainLock(BaseLockFactory.java:18)
~[classes/:?]
at org.infinispan.lucene.impl.DirectoryLucene.obtainLock(DirectoryLucene.java:145)
~[classes/:?]
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:775)
~[lucene-core-5.3.0.jar:5.3.0 1696229 - noble - 2015-08-17 16:59:03]
at
org.hibernate.search.backend.impl.lucene.IndexWriterHolder.createNewIndexWriter(IndexWriterHolder.java:123)
[hibernate-search-engine-5.5.0.Final.jar:5.5.0.Final]
at
org.hibernate.search.backend.impl.lucene.IndexWriterHolder.getIndexWriter(IndexWriterHolder.java:89)
[hibernate-search-engine-5.5.0.Final.jar:5.5.0.Final]
at
org.hibernate.search.backend.impl.lucene.AbstractWorkspaceImpl.getIndexWriter(AbstractWorkspaceImpl.java:112)
[hibernate-search-engine-5.5.0.Final.jar:5.5.0.Final]
at
org.hibernate.search.backend.impl.lucene.AbstractWorkspaceImpl.getIndexWriterDelegate(AbstractWorkspaceImpl.java:198)
[hibernate-search-engine-5.5.0.Final.jar:5.5.0.Final]
at
org.hibernate.search.backend.impl.lucene.LuceneBackendQueueTask.applyUpdates(LuceneBackendQueueTask.java:80)
[hibernate-search-engine-5.5.0.Final.jar:5.5.0.Final]
at
org.hibernate.search.backend.impl.lucene.LuceneBackendQueueTask.run(LuceneBackendQueueTask.java:46)
[hibernate-search-engine-5.5.0.Final.jar:5.5.0.Final]
at
org.hibernate.search.backend.impl.lucene.SyncWorkProcessor$Consumer.applyChangesets(SyncWorkProcessor.java:145)
[hibernate-search-engine-5.5.0.Final.jar:5.5.0.Final]
at
org.hibernate.search.backend.impl.lucene.SyncWorkProcessor$Consumer.run(SyncWorkProcessor.java:135)
[hibernate-search-engine-5.5.0.Final.jar:5.5.0.Final]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)