[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

Wolf-Dieter Fink (JIRA) issues at jboss.org
Tue Mar 18 06:48:10 EDT 2014


Wolf-Dieter Fink created ISPN-4128:
--------------------------------------

             Summary: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list