[infinispan-issues] [JBoss JIRA] (ISPN-4128) After netty4.0.x integration the keyset() method will not work for replicated jdbc-store caches in C/S mode

Tristan Tarrant (JIRA) issues at jboss.org
Fri Mar 4 08:37:00 EST 2016


     [ https://issues.jboss.org/browse/ISPN-4128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tristan Tarrant closed ISPN-4128.
---------------------------------
    Resolution: Out of Date


> After netty4.0.x integration the keyset() method will not work for replicated jdbc-store caches in C/S mode
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: ISPN-4128
>                 URL: https://issues.jboss.org/browse/ISPN-4128
>             Project: Infinispan
>          Issue Type: Bug
>         Environment: C/S mode
> HotRod client
> string-keyed-jdbc-store (MySQL DB)
>            Reporter: Wolf-Dieter Fink
>            Assignee: Adrian Nistor
>
> If a HotRod client try to use .keyset() for a replicated cache with jdbc-store it fails with a timeout, other operations (get/put, etc. are working)
> Exception at client side (no server Exception):
> org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation logErrorAndThrowExceptionIfNeeded
> ERROR: ISPN004007: Exception encountered. Retry 0 out of 0
> org.infinispan.client.hotrod.exceptions.TransportException:: java.net.SocketTimeoutException
> 	at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport.readByte(TcpTransport.java:169)
> 	at org.infinispan.client.hotrod.impl.protocol.Codec10.readHeader(Codec10.java:66)
> 	at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:56)
> 	at org.infinispan.client.hotrod.impl.operations.BulkGetKeysOperation.executeOperation(BulkGetKeysOperation.java:38)
> 	at org.infinispan.client.hotrod.impl.operations.BulkGetKeysOperation.executeOperation(BulkGetKeysOperation.java:20)
> 	at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:49)
> 	at org.infinispan.client.hotrod.impl.RemoteCacheImpl.keySet(RemoteCacheImpl.java:612)
> 	at org.jboss.quickstart.wfink.SimpleStringKeyedDbCacheDemo.printKeys(SimpleStringKeyedDbCacheDemo.java:205)
> 	at org.jboss.quickstart.wfink.SimpleStringKeyedDbCacheDemo.main(SimpleStringKeyedDbCacheDemo.java:247)
> Caused by: java.net.SocketTimeoutException
> 	at sun.nio.ch.SocketAdaptor$SocketInputStream.read(SocketAdaptor.java:229)
> 	at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103)
> 	at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
> 	at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
> 	at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport.readByte(TcpTransport.java:164)
> 	... 8 more
> The first bad commit is ba7c3900c457088b4fced91a8b06f7b7a3473241
>     [ISPN-3915] Port infinispan to Netty 4.0.x



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list