[JBoss JIRA] (ISPN-5083) Hot Rod decoder should use async Cache operations
by Radim Vansa (JIRA)
[ https://issues.jboss.org/browse/ISPN-5083?page=com.atlassian.jira.plugin.... ]
Radim Vansa commented on ISPN-5083:
-----------------------------------
[~gustavonalle] Does it make this request out-of-date? It's not just about being outside the IO loop, it's about being completely non-blocking, not consuming *any* threads while not active.
> Hot Rod decoder should use async Cache operations
> -------------------------------------------------
>
> Key: ISPN-5083
> URL: https://issues.jboss.org/browse/ISPN-5083
> Project: Infinispan
> Issue Type: Enhancement
> Components: Remote Protocols
> Reporter: Galder Zamarreño
> Assignee: Gustavo Fernandes
> Fix For: 9.2.0.Final
>
>
> Hot Rod decoder is currently tying up Netty threads as a result of calling up to Infinispan sync operations. Instead, Hot Rod decoder should call up async operations, convert the Notifying Futures to Scala Futures, and write up the reply when it's received. This should increase performance specially under heavy load.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (ISPN-8168) LiveRunningTest random failures
by Radim Vansa (JIRA)
[ https://issues.jboss.org/browse/ISPN-8168?page=com.atlassian.jira.plugin.... ]
Radim Vansa commented on ISPN-8168:
-----------------------------------
[~gustavonalle] Yes, the retry for functional commands does not work well. In order to fix some other test Galder has put the `prevValue` and `prevMetadata` into RWKVC but it seems that this does not work when the node becomes primary owner during retry; see RWKVC lines 105-108.
Feel free to adapt these to fix this test; it will still be a workaround until ISPN-7590 is implemented.
> LiveRunningTest random failures
> -------------------------------
>
> Key: ISPN-8168
> URL: https://issues.jboss.org/browse/ISPN-8168
> Project: Infinispan
> Issue Type: Bug
> Components: Lucene Directory
> Affects Versions: 9.1.0.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Labels: testsuite_stability
> Attachments: trace.zip
>
>
> The test fails very often with
> {noformat}
> Caused by: org.apache.lucene.index.IndexNotFoundException: no segments* file found in InfinispanDirectory{indexName='emails'}: files: []
> at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:726)
> at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:683)
> {noformat}
> The cache entry that contains the list of files the lucene directory (FileListCacheValue) for some reason is empty, although the index is not. The missing value for FileListCacheValue causes the index reader to think the index is empty and thus the error
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (ISPN-3992) ReplSyncDistributedExecutorTest.testBasicTargetRemoteDistributedCallableWithHighFutureAndLowTaskTimeout fails randomly
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-3992?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes edited comment on ISPN-3992 at 8/3/17 12:43 PM:
------------------------------------------------------------------
This test just failed to me:
{noformat}
[ERROR] testBasicTargetLocalDistributedCallableWithHighFutureAndLowTaskTimeout(org.infinispan.distexec.ReplSyncDistributedExecutorTest) Time elapsed: 2.286 s <<< FAILURE!
java.lang.AssertionError: Should have thrown an class java.util.concurrent.TimeoutException
at org.infinispan.test.Exceptions.assertException(Exceptions.java:21)
{noformat}
was (Author: gustavonalle):
This just just failed to me:
{noformat}
[ERROR] testBasicTargetLocalDistributedCallableWithHighFutureAndLowTaskTimeout(org.infinispan.distexec.ReplSyncDistributedExecutorTest) Time elapsed: 2.286 s <<< FAILURE!
java.lang.AssertionError: Should have thrown an class java.util.concurrent.TimeoutException
at org.infinispan.test.Exceptions.assertException(Exceptions.java:21)
{noformat}
> ReplSyncDistributedExecutorTest.testBasicTargetRemoteDistributedCallableWithHighFutureAndLowTaskTimeout fails randomly
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-3992
> URL: https://issues.jboss.org/browse/ISPN-3992
> Project: Infinispan
> Issue Type: Bug
> Components: Distributed Execution and Map/Reduce, Test Suite - Core
> Affects Versions: 6.0.1.Final
> Reporter: Pedro Ruivo
> Labels: testsuite_stability
>
> org.infinispan.distexec.ReplSyncDistributedExecutorTest.testBasicTargetRemoteDistributedCallableWithHighFutureAndLowTaskTimeout
> http://ci.infinispan.org/viewLog.html?buildId=6518&tab=buildResultsDiv&bu...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (ISPN-8175) LocalCacheStateTransferTest random failures
by Gustavo Fernandes (JIRA)
Gustavo Fernandes created ISPN-8175:
---------------------------------------
Summary: LocalCacheStateTransferTest random failures
Key: ISPN-8175
URL: https://issues.jboss.org/browse/ISPN-8175
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 9.1.0.Final
Reporter: Gustavo Fernandes
{noformat}
[ERROR] testStateTransferWithClusterIdle(org.infinispan.xsite.statetransfer.LocalCacheStateTransferTest) Time elapsed: 0.698 s <<< FAILURE!
java.lang.AssertionError:
at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
at org.testng.AssertJUnit.assertTrue(AssertJUnit.java:24)
at org.testng.AssertJUnit.assertFalse(AssertJUnit.java:41)
at org.testng.AssertJUnit.assertFalse(AssertJUnit.java:49)
at org.infinispan.xsite.statetransfer.LocalCacheStateTransferTest.assertNoStateTransferInReceivingSite(LocalCacheStateTransferTest.java:147)
at org.infinispan.xsite.statetransfer.LocalCacheStateTransferTest.testStateTransferWithClusterIdle(LocalCacheStateTransferTest.java:96)
{noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months