[JBoss JIRA] (ISPN-9784) Remove Distributed Executor
by Tristan Tarrant (Jira)
Tristan Tarrant created ISPN-9784:
-------------------------------------
Summary: Remove Distributed Executor
Key: ISPN-9784
URL: https://issues.jboss.org/browse/ISPN-9784
Project: Infinispan
Issue Type: Sub-task
Components: Clustered Executor
Affects Versions: 10.0.0.Alpha1
Reporter: Tristan Tarrant
Assignee: William Burns
Fix For: 10.0.0.Final
Remove Distributed Executor in favor of Clustered Executor
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years
[JBoss JIRA] (ISPN-9667) DefaultCacheManager inconsistent status checks
by Diego Lovison (Jira)
[ https://issues.jboss.org/browse/ISPN-9667?page=com.atlassian.jira.plugin.... ]
Diego Lovison updated ISPN-9667:
--------------------------------
Tester: Diego Lovison
> DefaultCacheManager inconsistent status checks
> ----------------------------------------------
>
> Key: ISPN-9667
> URL: https://issues.jboss.org/browse/ISPN-9667
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.4.1.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 9.4.2.Final, 10.0.0.Alpha1
>
>
> {{DefaultCacheManager.getTransport()}} returns {{null}} when the manager is stopping, it should not.
> To make things worse, {{DefaultCacheManager.getStatus()}} returns the status of the {{GlobalComponentRegistry}}, which is still {{RUNNING}} while caches are shutting down. That means {{DCM.getTransport()}} and {{DCM.getAddress()}} return {{null}} while the cache are stopping, and breaks distributed streams on caches that are still running.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years
[JBoss JIRA] (ISPN-9691) StateTransferFileCacheLoaderFunctionalTest#testConcurrentStateTransfer can hang
by Diego Lovison (Jira)
[ https://issues.jboss.org/browse/ISPN-9691?page=com.atlassian.jira.plugin.... ]
Diego Lovison closed ISPN-9691.
-------------------------------
> 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: 9.4.2.Final, 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
[JBoss JIRA] (ISPN-9705) SpringCache Put null value and get(key, clazz) IllegalStateException
by Diego Lovison (Jira)
[ https://issues.jboss.org/browse/ISPN-9705?page=com.atlassian.jira.plugin.... ]
Diego Lovison closed ISPN-9705.
-------------------------------
> 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
> Components: Spring Integration
> Affects Versions: 9.4.1.Final
> Reporter: Katia Aresti
> Assignee: Katia Aresti
> Priority: Major
> Fix For: 9.4.2.Final, 10.0.0.Alpha1
>
>
> {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
[JBoss JIRA] (ISPN-9706) SpringCache: get("key", Callable) not working with null values
by Diego Lovison (Jira)
[ https://issues.jboss.org/browse/ISPN-9706?page=com.atlassian.jira.plugin.... ]
Diego Lovison closed ISPN-9706.
-------------------------------
> 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
> Components: Spring Integration
> Affects Versions: 9.4.1.Final
> Reporter: Katia Aresti
> Assignee: Katia Aresti
> Priority: Major
> Fix For: 9.4.2.Final, 10.0.0.Alpha1
>
>
> {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