[JBoss JIRA] (ISPN-7110) Async invocation stages should use CompletableFutures.await()
by Dan Berindei (JIRA)
Dan Berindei created ISPN-7110:
----------------------------------
Summary: Async invocation stages should use CompletableFutures.await()
Key: ISPN-7110
URL: https://issues.jboss.org/browse/ISPN-7110
Project: Infinispan
Issue Type: Bug
Components: Core
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 9.0.0.Beta1
As described in ISPN-5962, {{CompletableFuture.get()}} and {{CompletableFuture.join()}} without a timeout do a lot of spinning, so we need to use {{CompletableFutures.await(CompletableFuture)}} instead.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months
[JBoss JIRA] (ISPN-7063) FunctionalCachestoreTest and FunctionalInMemoryTest random failures
by Sebastian Łaskawiec (JIRA)
[ https://issues.jboss.org/browse/ISPN-7063?page=com.atlassian.jira.plugin.... ]
Sebastian Łaskawiec updated ISPN-7063:
--------------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.0.0.Final
Resolution: Done
> FunctionalCachestoreTest and FunctionalInMemoryTest random failures
> -------------------------------------------------------------------
>
> Key: ISPN-7063
> URL: https://issues.jboss.org/browse/ISPN-7063
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Reporter: Dan Berindei
> Assignee: Radim Vansa
> Labels: testsuite_stability
> Fix For: 9.0.0.Beta1, 9.0.0.Final
>
>
> ISPN-6586 introduced a static field in {{invocationCount}} that is shared by {{FunctionalInMemoryTest}} and {{FunctionalCachestoreTest}}. When they run in parallel, the counter is no longer deterministic and they both fail randomly.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months
[JBoss JIRA] (ISPN-7104) Cache remove fails to return value in invalidation mode with cache store
by Vladimir Dzhuvinov (JIRA)
[ https://issues.jboss.org/browse/ISPN-7104?page=com.atlassian.jira.plugin.... ]
Vladimir Dzhuvinov commented on ISPN-7104:
------------------------------------------
Plus *putIfAbsent*.
> Cache remove fails to return value in invalidation mode with cache store
> ------------------------------------------------------------------------
>
> Key: ISPN-7104
> URL: https://issues.jboss.org/browse/ISPN-7104
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 8.2.4.Final
> Reporter: Vladimir Dzhuvinov
> Priority: Critical
> Attachments: RemoveInInvalidationModeTest.java
>
>
> The cache `remove` method occasionally fails to return the removed value, and returns `null`.
> Observed in two node setup in invalidation mode, with a configured cache store (Redis).
> Tests reveal that about 40% of the times the method returns `null`, the remaining 60% the removed value is correctly returned.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months
[JBoss JIRA] (ISPN-7104) Cache remove fails to return value in invalidation mode with cache store
by Vladimir Dzhuvinov (JIRA)
[ https://issues.jboss.org/browse/ISPN-7104?page=com.atlassian.jira.plugin.... ]
Vladimir Dzhuvinov commented on ISPN-7104:
------------------------------------------
Just found out that *replace(key,value)* is also affected. In tests it succeed about 37% of the time, for the remaining calls it returned null.
> Cache remove fails to return value in invalidation mode with cache store
> ------------------------------------------------------------------------
>
> Key: ISPN-7104
> URL: https://issues.jboss.org/browse/ISPN-7104
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 8.2.4.Final
> Reporter: Vladimir Dzhuvinov
> Priority: Critical
> Attachments: RemoveInInvalidationModeTest.java
>
>
> The cache `remove` method occasionally fails to return the removed value, and returns `null`.
> Observed in two node setup in invalidation mode, with a configured cache store (Redis).
> Tests reveal that about 40% of the times the method returns `null`, the remaining 60% the removed value is correctly returned.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months