[JBoss JIRA] (ISPN-6602) ParallelHotRodOperation failover not working
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-6602?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-6602:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.0.0.Alpha2
8.2.2.Final
9.0.0.Final
Resolution: Done
> ParallelHotRodOperation failover not working
> --------------------------------------------
>
> Key: ISPN-6602
> URL: https://issues.jboss.org/browse/ISPN-6602
> Project: Infinispan
> Issue Type: Bug
> Reporter: Gustavo Fernandes
> Fix For: 9.0.0.Alpha2, 8.2.2.Final, 9.0.0.Final
>
>
> When doing a {{putAll}} and a server goes down, the Hot Rod client aborts with the exception:
> {code}
> 15:53:10,741 ERROR (HotRod-client-async-pool-5) [RetryOnFailureOperation] ISPN004007: Exception encountered. Retry 10 out of 10
> org.infinispan.client.hotrod.exceptions.TransportException:: Could not fetch transport
> at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.borrowTransportFromPool(TcpTransportFactory.java:400)
> at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.getTransport(TcpTransportFactory.java:278)
> at org.infinispan.client.hotrod.impl.operations.PutAllOperation.getTransport(PutAllOperation.java:65)
> at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:53)
> at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation.lambda$executeParallel$15(ParallelHotRodOperation.java:63)
> at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation$$Lambda$38/973833666.call(Unknown Source)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)Exception in thread "main" java.util.concurrent.CompletionException: org.infinispan.client.hotrod.exceptions.ParallelOperationException:: java.util.concurrent.ExecutionException: org.infinispan.client.hotrod.exceptions.TransportException:: Could not fetch transport
> at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
> at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
> at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1584)
> at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1574)
> at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
> at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
> at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689)
> at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
> Caused by: org.infinispan.client.hotrod.exceptions.ParallelOperationException:: java.util.concurrent.ExecutionException: org.infinispan.client.hotrod.exceptions.TransportException:: Could not fetch transport
> at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation.executeParallel(ParallelHotRodOperation.java:79)
> at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation.execute(ParallelHotRodOperation.java:50)
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.putAll(RemoteCacheImpl.java:223)
> at
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (ISPN-6602) ParallelHotRodOperation failover not working
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-6602?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant reassigned ISPN-6602:
-------------------------------------
Assignee: Gustavo Fernandes
> ParallelHotRodOperation failover not working
> --------------------------------------------
>
> Key: ISPN-6602
> URL: https://issues.jboss.org/browse/ISPN-6602
> Project: Infinispan
> Issue Type: Bug
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Fix For: 9.0.0.Alpha2, 8.2.2.Final, 9.0.0.Final
>
>
> When doing a {{putAll}} and a server goes down, the Hot Rod client aborts with the exception:
> {code}
> 15:53:10,741 ERROR (HotRod-client-async-pool-5) [RetryOnFailureOperation] ISPN004007: Exception encountered. Retry 10 out of 10
> org.infinispan.client.hotrod.exceptions.TransportException:: Could not fetch transport
> at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.borrowTransportFromPool(TcpTransportFactory.java:400)
> at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.getTransport(TcpTransportFactory.java:278)
> at org.infinispan.client.hotrod.impl.operations.PutAllOperation.getTransport(PutAllOperation.java:65)
> at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:53)
> at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation.lambda$executeParallel$15(ParallelHotRodOperation.java:63)
> at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation$$Lambda$38/973833666.call(Unknown Source)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)Exception in thread "main" java.util.concurrent.CompletionException: org.infinispan.client.hotrod.exceptions.ParallelOperationException:: java.util.concurrent.ExecutionException: org.infinispan.client.hotrod.exceptions.TransportException:: Could not fetch transport
> at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
> at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
> at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1584)
> at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1574)
> at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
> at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
> at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689)
> at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
> Caused by: org.infinispan.client.hotrod.exceptions.ParallelOperationException:: java.util.concurrent.ExecutionException: org.infinispan.client.hotrod.exceptions.TransportException:: Could not fetch transport
> at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation.executeParallel(ParallelHotRodOperation.java:79)
> at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation.execute(ParallelHotRodOperation.java:50)
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.putAll(RemoteCacheImpl.java:223)
> at
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (ISPN-5900) Cleanup uberjar packaging (ideal solution)
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-5900?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-5900:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.0.0.Alpha2
9.0.0.Final
Resolution: Done
> Cleanup uberjar packaging (ideal solution)
> ------------------------------------------
>
> Key: ISPN-5900
> URL: https://issues.jboss.org/browse/ISPN-5900
> Project: Infinispan
> Issue Type: Feature Request
> Components: Build process
> Reporter: Sebastian Łaskawiec
> Assignee: Sebastian Łaskawiec
> Priority: Critical
> Labels: jdg7
> Fix For: 9.0.0.Alpha2, 9.0.0.Final
>
>
> ISPN-5838 provides a backwards compatible solution whereas an ideal solution involves also changing packages (which will fix Weld/OSGi errors) into:
> * org.infinispan.cdi.common
> * org.infinispan.cdi.remote
> * org.infinispan.cdi.embedded
> Client side changes:
> * When client uses standard {{infinispan-cdi-remote}} or {{infinispan-cdi-embedded}} jars in his deployment, no further changes are needed (everything is being wired on CDI services level)
> * However when someone uses CDI integration and JBoss Modules dependencies (e.g. in {{MANIFEST.MF}} or {{deployment-structure.xml}} and embedded mode, he will need to change the dependency to {{org.infinispan.cdi.embedded}}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (ISPN-6599) PutAll operation in the Hot Rod client only partially completed during topology changes
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-6599?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes commented on ISPN-6599:
-----------------------------------------
Attaching trace logs.
The test was done with 3 servers \[server0, server1, server2\] and 1 client.
The client starts doing several putAll with 5 entries each, and then server0 is stopped.
The problematic put seems to be:
{code}
09:54:39,854 TRACE (ForkJoinPool.commonPool-worker-2:[]) [RemoteCacheImpl] About to putAll entries ({10=org.infinispan.spark.domain.Runner@69a45924, 11=org.infinispan.spark.domain.Runner@55060aca, 12=org.infinispan.spark.domain.Runner@2e6849c5, 13=org.infinispan.spark.domain.Runner@5e50c701, 14=org.infinispan.spark.domain.Runner@1576c896}) lifespan:0 (MILLISECONDS), maxIdle:0 (MILLISECONDS)
{code}
It returns normally to the client, but apparently only 4 of 5 entries are written.
> PutAll operation in the Hot Rod client only partially completed during topology changes
> ---------------------------------------------------------------------------------------
>
> Key: ISPN-6599
> URL: https://issues.jboss.org/browse/ISPN-6599
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Affects Versions: 9.0.0.Alpha1
> Reporter: Gustavo Fernandes
> Assignee: Dan Berindei
>
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months