[infinispan-issues] [JBoss JIRA] (ISPN-6041) Remote Listeners: Client event reader thread reports EOF as error

Dan Berindei (JIRA) issues at jboss.org
Fri Sep 23 09:33:00 EDT 2016


    [ https://issues.jboss.org/browse/ISPN-6041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13297822#comment-13297822 ] 

Dan Berindei commented on ISPN-6041:
------------------------------------

[~galderz] it doesn't seem that different to me... The cause might be different, but they both result in a {{TransportException}} from {{TcpTransport.readByte}}, and are handled the same way in {{ClientListenerNotifier$EventDispatcher.run}}. And {{IOException: Connection reset by peer}} signals that the other end closed the socket, just like {{read()}} returning {{-1}}, so I think they *should* be handled the same way.

> 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)


More information about the infinispan-issues mailing list