[JBoss JIRA] (ISPN-7032) Deadlock when stopping caches
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-7032?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes commented on ISPN-7032:
-----------------------------------------
[~dan.berindei] WDYT?
> Deadlock when stopping caches
> -----------------------------
>
> Key: ISPN-7032
> URL: https://issues.jboss.org/browse/ISPN-7032
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Reporter: Gustavo Fernandes
> Attachments: deadlock_on_stop.txt
>
>
> Observed intermittent deadlock when stopping 4 caches in a unit test. Stack trace during the deadlock is attached.
> One thread is stuck on
> {noformat}
> at org.infinispan.factories.AbstractComponentRegistry.stop(AbstractComponentRegistry.java:569)
> {noformat}
> and several others in
> {noformat}
> at org.infinispan.topology.LocalTopologyManagerImpl.waitForView(LocalTopologyManagerImpl.java:545)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months
[JBoss JIRA] (ISPN-7032) Deadlock when stopping caches
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-7032?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-7032:
------------------------------------
Attachment: deadlock_on_stop.txt
> Deadlock when stopping caches
> -----------------------------
>
> Key: ISPN-7032
> URL: https://issues.jboss.org/browse/ISPN-7032
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Reporter: Gustavo Fernandes
> Attachments: deadlock_on_stop.txt
>
>
> Observed intermittent deadlock when stopping 4 caches in a unit test. Stack trace during the deadlock is attached.
> One thread is stuck on
> {noformat}
> at org.infinispan.factories.AbstractComponentRegistry.stop(AbstractComponentRegistry.java:569)
> {noformat}
> and several others in
> {noformat}
> at org.infinispan.topology.LocalTopologyManagerImpl.waitForView(LocalTopologyManagerImpl.java:545)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months
[JBoss JIRA] (ISPN-7032) Deadlock when stopping caches
by Gustavo Fernandes (JIRA)
Gustavo Fernandes created ISPN-7032:
---------------------------------------
Summary: Deadlock when stopping caches
Key: ISPN-7032
URL: https://issues.jboss.org/browse/ISPN-7032
Project: Infinispan
Issue Type: Bug
Components: Core
Reporter: Gustavo Fernandes
Observed intermittent deadlock when stopping 4 caches in a unit test. Stack trace during the deadlock is attached.
One thread is stuck on
{noformat}
at org.infinispan.factories.AbstractComponentRegistry.stop(AbstractComponentRegistry.java:569)
{noformat}
and several others in
{noformat}
at org.infinispan.topology.LocalTopologyManagerImpl.waitForView(LocalTopologyManagerImpl.java:545)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months
[JBoss JIRA] (ISPN-7032) Deadlock when stopping caches
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-7032?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-7032:
------------------------------------
Status: Open (was: New)
> Deadlock when stopping caches
> -----------------------------
>
> Key: ISPN-7032
> URL: https://issues.jboss.org/browse/ISPN-7032
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Reporter: Gustavo Fernandes
>
> Observed intermittent deadlock when stopping 4 caches in a unit test. Stack trace during the deadlock is attached.
> One thread is stuck on
> {noformat}
> at org.infinispan.factories.AbstractComponentRegistry.stop(AbstractComponentRegistry.java:569)
> {noformat}
> and several others in
> {noformat}
> at org.infinispan.topology.LocalTopologyManagerImpl.waitForView(LocalTopologyManagerImpl.java:545)
> {noformat}
--
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)
Galder Zamarreño created ISPN-7031:
--------------------------------------
Summary: 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: 8.2.4.Final, 9.0.0.Alpha4
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-6041) Remote Listeners: Client event reader thread reports EOF as error
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-6041?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño commented on ISPN-6041:
----------------------------------------
JDG-517 shows a different exception and it's not the same case.
> Remote Listeners: Client event reader thread reports EOF as error
> -----------------------------------------------------------------
>
> Key: ISPN-6041
> URL: https://issues.jboss.org/browse/ISPN-6041
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Protocols
> Affects Versions: 8.1.0.Final
> Reporter: Dan Berindei
> Priority: Minor
> Fix For: 9.0.0.Beta1
>
>
> {noformat}
> 14:02:14,904 ERROR (Client-Listener-87aa07aee56d43e1) [ClientListenerNotifier] ISPN004043: Unrecoverable error reading event from server /127.0.0.1:15530, exiting event reader thread
> org.infinispan.client.hotrod.exceptions.TransportException: End of stream reached!
> at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport.readByte(TcpTransport.java:198)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readMagic(Codec20.java:305)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readEvent(Codec20.java:147)
> at org.infinispan.client.hotrod.event.ClientListenerNotifier$EventDispatcher.run(ClientListenerNotifier.java:252)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months
[JBoss JIRA] (ISPN-6041) Remote Listeners: Client event reader thread reports EOF as error
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-6041?page=com.atlassian.jira.plugin.... ]
Dan Berindei commented on ISPN-6041:
------------------------------------
Indeed [~galder.zamarreno], I only created this issue to stop logging the EOF as an "unrecoverable error". I was expecting the client listener to connect to another server and continue working after logging this, but seeing JDG-517 maybe that's not the case.
> Remote Listeners: Client event reader thread reports EOF as error
> -----------------------------------------------------------------
>
> Key: ISPN-6041
> URL: https://issues.jboss.org/browse/ISPN-6041
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Protocols
> Affects Versions: 8.1.0.Final
> Reporter: Dan Berindei
> Priority: Minor
> Fix For: 9.0.0.Beta1
>
>
> {noformat}
> 14:02:14,904 ERROR (Client-Listener-87aa07aee56d43e1) [ClientListenerNotifier] ISPN004043: Unrecoverable error reading event from server /127.0.0.1:15530, exiting event reader thread
> org.infinispan.client.hotrod.exceptions.TransportException: End of stream reached!
> at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport.readByte(TcpTransport.java:198)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readMagic(Codec20.java:305)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readEvent(Codec20.java:147)
> at org.infinispan.client.hotrod.event.ClientListenerNotifier$EventDispatcher.run(ClientListenerNotifier.java:252)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months