[JBoss JIRA] (ISPN-9726) Document max bool property on query
by Adrian Nistor (Jira)
[ https://issues.jboss.org/browse/ISPN-9726?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated ISPN-9726:
--------------------------------
Description: Document the ability to override org.apache.lucene.search.BooleanQuery.maxClauseCount using infinispan.query.lucene.max-boolean-clauses JVM system property. (was: Document the ability to override BooleanQuery.maxClauseCount)
> Document max bool property on query
> -----------------------------------
>
> Key: ISPN-9726
> URL: https://issues.jboss.org/browse/ISPN-9726
> Project: Infinispan
> Issue Type: Task
> Components: Embedded Querying, Remote Querying
> Affects Versions: 10.0.0.Alpha1
> Reporter: Katia Aresti
> Assignee: Adrian Nistor
> Priority: Major
> Fix For: 10.0.0.Alpha1, 9.4.2.Final
>
>
> Document the ability to override org.apache.lucene.search.BooleanQuery.maxClauseCount using infinispan.query.lucene.max-boolean-clauses JVM system property.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month
[JBoss JIRA] (ISPN-9706) SpringCache: get("key", Callable) not working with null values
by Katia Aresti (Jira)
[ https://issues.jboss.org/browse/ISPN-9706?page=com.atlassian.jira.plugin.... ]
Katia Aresti reassigned ISPN-9706:
----------------------------------
Assignee: Katia Aresti
> SpringCache: get("key", Callable) not working with null values
> --------------------------------------------------------------
>
> Key: ISPN-9706
> URL: https://issues.jboss.org/browse/ISPN-9706
> Project: Infinispan
> Issue Type: Bug
> Reporter: Katia Aresti
> Assignee: Katia Aresti
> Priority: Major
>
> {code:SpringCacheTest.java}
> @Test
> public void testGetWithNullValue() {
> assertNull(cache.get("null", () -> null));
> }
> {code}
> {code}
> Caused by: java.lang.NullPointerException: Null values are not supported!
> {code}
> and
> {code:SpringCacheTest.java}
> @Test
> public void testGetNullValueAfterPutNull() {
> cache.put("key", null);
> String result = cache.get("key", () -> "notnull");
> assertNull(result);
> }
> {code}
> {code}
> java.lang.ClassCastException: org.infinispan.spring.provider.NullValue cannot be cast to java.lang.String
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month
[JBoss JIRA] (ISPN-9705) SpringCache Put null value and get(key, clazz) IllegalStateException
by Katia Aresti (Jira)
[ https://issues.jboss.org/browse/ISPN-9705?page=com.atlassian.jira.plugin.... ]
Katia Aresti reassigned ISPN-9705:
----------------------------------
Assignee: Katia Aresti
> SpringCache Put null value and get(key, clazz) IllegalStateException
> --------------------------------------------------------------------
>
> Key: ISPN-9705
> URL: https://issues.jboss.org/browse/ISPN-9705
> Project: Infinispan
> Issue Type: Bug
> Reporter: Katia Aresti
> Assignee: Katia Aresti
> Priority: Major
>
> {code:title=SpringCacheTest,java|borderStyle=solid}
> public void testPutNullError() {
> //when//then
> cache.put("key", null);
> cache.get("key", String.class);
> }
> {code}
> We get
> {code}
> java.lang.IllegalStateException: Cached value is not of required type [java.lang.String]: org.infinispan.spring.provider.NullValue@76f7d241
> {code}
> JavaDoc for this method states this method does not make difference between cached null and null value.
> Note: This variant of {@code get} does not allow for differentiating
> * between a cached {@code null} value and no cache entry found at all.
> * Use the standard {@link #get(Object)} variant for that purpose instead.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month
[JBoss JIRA] (ISPN-6728) Add ability to override BooleanQuery.maxClauseCount
by Katia Aresti (Jira)
[ https://issues.jboss.org/browse/ISPN-6728?page=com.atlassian.jira.plugin.... ]
Katia Aresti updated ISPN-6728:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
integrated thanks!
> Add ability to override BooleanQuery.maxClauseCount
> ----------------------------------------------------
>
> Key: ISPN-6728
> URL: https://issues.jboss.org/browse/ISPN-6728
> Project: Infinispan
> Issue Type: Enhancement
> Components: Remote Querying, Server
> Reporter: Van Halbert
> Assignee: Adrian Nistor
> Priority: Minor
> Fix For: 10.0.0.Alpha1, 9.4.2.Final
>
>
> We are using the Hotrod client, and need the ability to specify or override the maxClauseCount setting, otherwise, we get the following error message:
> - org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to 1024 setting
> This will occur when there are more than 1024 "IN" conditions specified on the query builder.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month
[JBoss JIRA] (ISPN-9691) StateTransferFileCacheLoaderFunctionalTest#testConcurrentStateTransfer can hang
by William Burns (Jira)
[ https://issues.jboss.org/browse/ISPN-9691?page=com.atlassian.jira.plugin.... ]
William Burns updated ISPN-9691:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 10.0.0.Alpha1
Resolution: Done
> StateTransferFileCacheLoaderFunctionalTest#testConcurrentStateTransfer can hang
> -------------------------------------------------------------------------------
>
> Key: ISPN-9691
> URL: https://issues.jboss.org/browse/ISPN-9691
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Reporter: William Burns
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 10.0.0.Alpha1
>
>
> The test can hang and will eventually be killed after the 5 minute timeout. The CI unfortunately doesn't count it as a failure. I have been seeing this quite often when running the core suite locally.
> https://ci.infinispan.org/job/Infinispan/job/master/927
> The stack in the log is:
> {quote}
> Test org.infinispan.statetransfer.StateTransferFileCacheLoaderFunctionalTest.testConcurrentStateTransfer has been running for more than 300 seconds. Interrupting the test thread and dumping thread stacks of the test suite process and its children.
> Dumping thread stacks of process 32404 to /home/infinispan/workspace/Infinispan_master-5OURPVBKVS5PLGVSKVWLBFUZPLIO2DZSV3U7HWSZJBYGBGKYSFXQ/core/threaddump-org_infinispan_statetransfer_StateTransferFileCacheLoaderFunctionalTest_testConcurrentStateTransfer-2018-11-02-32404.log
> Interrupted thread testng-StateTransferFileCacheLoaderFunctionalTest (22).
> Error dumping thread stacks/interrupting threads/killing processes:
> [OK: 11616, KO: 1, SKIP: java.lang.InterruptedException
> 96] Test succeeded: org.infinispan.statetransfer.StateTransferFileCacheLoaderFunctionalTest.testConcurrentStateTransfer
> at java.lang.Object.wait(Native Method)
> at java.lang.Thread.join(Thread.java:1260)
> {quote}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month