[JBoss JIRA] (ISPN-7031) ClientListener stops working after connection failure
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-7031?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño updated ISPN-7031:
-----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/4563
> ClientListener stops working after connection failure
> -----------------------------------------------------
>
> Key: ISPN-7031
> URL: https://issues.jboss.org/browse/ISPN-7031
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Protocols
> Affects Versions: 9.0.0.Alpha4, 8.2.4.Final
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Fix For: 9.0.0.Beta1, 9.0.0.Final
>
>
> After a connection failure to an Infinispan server, normal operations like get and put recovers to work as expected. But a {{ClientListener}} stops working. After registering the listener by {{cache.addClientListener(listener)}} again, it recovers to work.
> {code}
> 13:44:02,017 ERROR [org.infinispan.client.hotrod.event.ClientListenerNotifier] (Client-Listener-f021d770522e4595) ISPN004043: Unrecoverable error reading event from server /127.0.0.1:11222, exiting event reader thread: org.infinispan.client.hotrod.exceptions.TransportException:: java.io.IOException: Connection reset by peer
> at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport.readByte(TcpTransport.java:195) [infinispan-client-hotrod-8.3.0.Final-redhat-1.jar:8.3.0.Final-redhat-1]
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readMagic(Codec20.java:305) [infinispan-client-hotrod-8.3.0.Final-redhat-1.jar:8.3.0.Final-redhat-1]
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readEvent(Codec20.java:147) [infinispan-client-hotrod-8.3.0.Final-redhat-1.jar:8.3.0.Final-redhat-1]
> at org.infinispan.client.hotrod.event.ClientListenerNotifier$EventDispatcher.run(ClientListenerNotifier.java:262) [infinispan-client-hotrod-8.3.0.Final-redhat-1.jar:8.3.0.Final-redhat-1]
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_101]
> at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_101]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_101]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_101]
> at org.infinispan.client.hotrod.event.ClientListenerNotifier.lambda$null$0(ClientListenerNotifier.java:78) [infinispan-client-hotrod-8.3.0.Final-redhat-1.jar:8.3.0.Final-redhat-1]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_101]
> Caused by: java.io.IOException: Connection reset by peer
> at sun.nio.ch.FileDispatcherImpl.read0(Native Method) [rt.jar:1.8.0_101]
> at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) [rt.jar:1.8.0_101]
> at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) [rt.jar:1.8.0_101]
> at sun.nio.ch.IOUtil.read(IOUtil.java:197) [rt.jar:1.8.0_101]
> at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) [rt.jar:1.8.0_101]
> at sun.nio.ch.SocketAdaptor$SocketInputStream.read(SocketAdaptor.java:206) [rt.jar:1.8.0_101]
> at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103) [rt.jar:1.8.0_101]
> at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) [rt.jar:1.8.0_101]
> at java.io.BufferedInputStream.read(BufferedInputStream.java:265) [rt.jar:1.8.0_101]
> at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport.readByte(TcpTransport.java:190) [infinispan-client-hotrod-8.3.0.Final-redhat-1.jar:8.3.0.Final-redhat-1]
> ... 9 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months
[JBoss JIRA] (ISPN-7031) ClientListener stops working after connection failure
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-7031?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño updated ISPN-7031:
-----------------------------------
Status: Open (was: New)
> ClientListener stops working after connection failure
> -----------------------------------------------------
>
> Key: ISPN-7031
> URL: https://issues.jboss.org/browse/ISPN-7031
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Protocols
> Affects Versions: 9.0.0.Alpha4, 8.2.4.Final
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Fix For: 9.0.0.Beta1, 9.0.0.Final
>
>
> After a connection failure to an Infinispan server, normal operations like get and put recovers to work as expected. But a {{ClientListener}} stops working. After registering the listener by {{cache.addClientListener(listener)}} again, it recovers to work.
> {code}
> 13:44:02,017 ERROR [org.infinispan.client.hotrod.event.ClientListenerNotifier] (Client-Listener-f021d770522e4595) ISPN004043: Unrecoverable error reading event from server /127.0.0.1:11222, exiting event reader thread: org.infinispan.client.hotrod.exceptions.TransportException:: java.io.IOException: Connection reset by peer
> at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport.readByte(TcpTransport.java:195) [infinispan-client-hotrod-8.3.0.Final-redhat-1.jar:8.3.0.Final-redhat-1]
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readMagic(Codec20.java:305) [infinispan-client-hotrod-8.3.0.Final-redhat-1.jar:8.3.0.Final-redhat-1]
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readEvent(Codec20.java:147) [infinispan-client-hotrod-8.3.0.Final-redhat-1.jar:8.3.0.Final-redhat-1]
> at org.infinispan.client.hotrod.event.ClientListenerNotifier$EventDispatcher.run(ClientListenerNotifier.java:262) [infinispan-client-hotrod-8.3.0.Final-redhat-1.jar:8.3.0.Final-redhat-1]
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_101]
> at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_101]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_101]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_101]
> at org.infinispan.client.hotrod.event.ClientListenerNotifier.lambda$null$0(ClientListenerNotifier.java:78) [infinispan-client-hotrod-8.3.0.Final-redhat-1.jar:8.3.0.Final-redhat-1]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_101]
> Caused by: java.io.IOException: Connection reset by peer
> at sun.nio.ch.FileDispatcherImpl.read0(Native Method) [rt.jar:1.8.0_101]
> at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) [rt.jar:1.8.0_101]
> at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) [rt.jar:1.8.0_101]
> at sun.nio.ch.IOUtil.read(IOUtil.java:197) [rt.jar:1.8.0_101]
> at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) [rt.jar:1.8.0_101]
> at sun.nio.ch.SocketAdaptor$SocketInputStream.read(SocketAdaptor.java:206) [rt.jar:1.8.0_101]
> at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103) [rt.jar:1.8.0_101]
> at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) [rt.jar:1.8.0_101]
> at java.io.BufferedInputStream.read(BufferedInputStream.java:265) [rt.jar:1.8.0_101]
> at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport.readByte(TcpTransport.java:190) [infinispan-client-hotrod-8.3.0.Final-redhat-1.jar:8.3.0.Final-redhat-1]
> ... 9 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months
[JBoss JIRA] (ISPN-7035) Move spring modules to proper packages
by Sebastian Łaskawiec (JIRA)
Sebastian Łaskawiec created ISPN-7035:
-----------------------------------------
Summary: Move spring modules to proper packages
Key: ISPN-7035
URL: https://issues.jboss.org/browse/ISPN-7035
Project: Infinispan
Issue Type: Enhancement
Reporter: Sebastian Łaskawiec
Assignee: Sebastian Łaskawiec
Priority: Critical
Currently everything is placed in {{org.infinispan.spring}} package. We should provide exactly the same split as we did in CDI ({{org.infinispan.spring}} into {{org.infinispan.spring.remote}} and {{org.infinispan.spring.embedded}})
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months
[JBoss JIRA] (ISPN-5354) HotRod putAll/getAll send proper CH routing
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-5354?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-5354:
----------------------------------
Summary: HotRod putAll/getAll send proper CH routing (was: HotRod putAll send proper CH routing)
> HotRod putAll/getAll send proper CH routing
> -------------------------------------------
>
> Key: ISPN-5354
> URL: https://issues.jboss.org/browse/ISPN-5354
> Project: Infinispan
> Issue Type: Enhancement
> Components: Remote Protocols
> Reporter: William Burns
> Assignee: William Burns
> Fix For: 9.0.0.Alpha2, 8.2.2.Final, 9.0.0.Final
>
>
> We need to enable putAll operation on hot rod to send multiple commands where each owner receives the keys it owns. This way the embedded server has less routing to do.
> This requires having some sort of thread pool for use on the client though, as doing each request sequentially seems it would probably be slower than just sending 1 request.
> This relates to ISPN-5266
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months
[JBoss JIRA] (ISPN-6038) ClientAsymmetricClusterTest.testAsymmetricCluster random failures
by Romain Pelisse (JIRA)
[ https://issues.jboss.org/browse/ISPN-6038?page=com.atlassian.jira.plugin.... ]
Romain Pelisse reassigned ISPN-6038:
------------------------------------
Assignee: Romain Pelisse (was: Galder Zamarreño)
> ClientAsymmetricClusterTest.testAsymmetricCluster random failures
> -----------------------------------------------------------------
>
> Key: ISPN-6038
> URL: https://issues.jboss.org/browse/ISPN-6038
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Protocols, Test Suite - Server
> Reporter: Dan Berindei
> Assignee: Romain Pelisse
> Priority: Minor
> Labels: testsuite_stability
> Fix For: 9.0.0.Beta1
>
>
> {{ClientAsymmetricClusterTest.testAsymmetricCluster}} is failing since the ISPN-5981 fix, which enabled {{pingOnStartup}} by default, and now returns {{null}} if the first server to be pinged doesn't have the cache defined.
> {noformat}
> 10:23:07,862 WARN (testng-ClientAsymmetricClusterTest:) [Codec21] ISPN004005: Error received from the server: org.infinispan.server.hotrod.CacheNotFoundException: Cache with name 'asymmetricCache' not found amongst the configured caches
> 10:23:07,862 ERROR (testng-ClientAsymmetricClusterTest:) [UnitTestTestNGListener] Test testAsymmetricCluster(org.infinispan.client.hotrod.ClientAsymmetricClusterTest) failed.
> java.lang.NullPointerException
> at org.infinispan.client.hotrod.ClientAsymmetricClusterTest.testAsymmetricCluster(ClientAsymmetricClusterTest.java:38) ~[test-classes/:?]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months