[JBoss JIRA] (ISPN-5343) Make eviction size parameter configurable at runtime
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-5343?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-5343:
----------------------------------
Summary: Make eviction size parameter configurable at runtime (was: Make eviction max-entries parameter configurable at runtime)
> Make eviction size parameter configurable at runtime
> ----------------------------------------------------
>
> Key: ISPN-5343
> URL: https://issues.jboss.org/browse/ISPN-5343
> Project: Infinispan
> Issue Type: Feature Request
> Components: Eviction
> Affects Versions: 7.2.0.Beta2
> Environment: Infinispan 7/ JDG
> Reporter: Duncan Doyle
> Assignee: Sebastian Łaskawiec
> Fix For: 8.1.0.Alpha2, 8.1.0.Final
>
>
> I've got a use-case where I would like to be able to dynamically (at runtime) configure the max-entries parameter of my eviction configuration. This would allow to, for example, decrease the max-entries dynamically when my system starts running oom.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 2 months
[JBoss JIRA] (ISPN-5822) Limit the number of expansion cofactors for hybrid query
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-5822?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-5822:
------------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Limit the number of expansion cofactors for hybrid query
> --------------------------------------------------------
>
> Key: ISPN-5822
> URL: https://issues.jboss.org/browse/ISPN-5822
> Project: Infinispan
> Issue Type: Enhancement
> Components: Embedded Querying
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Fix For: 8.1.0.Alpha2, 8.0.2.Final
>
>
> When the are many non-indexed variables the boole-shannon expansion can become very large. In that case it's better to perform a full non-indexed search rather than a two-phase search. We need to be able to set a limit for the number of cofactors in the resulting product.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 2 months
[JBoss JIRA] (ISPN-5834) LockObtainFailedException thrown in query testsuite
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-5834?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-5834:
------------------------------------
Description:
Happening on {{IndexCacheStopTest#testIndexingMultipleDirectoriesOnSameCache}} apparently since -migration to Lucene 5- ever
{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}
was:
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}
> 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- ever
> {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)
9 years, 2 months
[JBoss JIRA] (ISPN-5834) LockObtainFailedException thrown in query testsuite
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-5834?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-5834:
------------------------------------
Status: Open (was: New)
> 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)
9 years, 2 months
[JBoss JIRA] (ISPN-5834) LockObtainFailedException thrown in query testsuite
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-5834?page=com.atlassian.jira.plugin.... ]
Work on ISPN-5834 started by Gustavo Fernandes.
-----------------------------------------------
> 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)
9 years, 2 months