alphazero / jredis

Java Client and Connectors for Redis
http://code.google.com/p/jredis/
Apache License 2.0
315 stars 136 forks source link

Exception using jredisPipeline #36

Open vishnudeepak opened 13 years ago

vishnudeepak commented 13 years ago

This is happenening when i am doing multigets /gets /sets after the socket timeout exception happens.

The socket timeout is happening when i am setting a lot of keys in a tight loop using JredisPipelineService.

Above two are happening concurrently and this is what i am seeing in the logs.

Here's the stack trace.

on pendingResponse.get() at org.jredis.ri.alphazero.connection.SynchPipelineConnection.serviceRequest(S ynchPipelineConnection.java: 92) at org.jredis.ri.alphazero.JRedisPipelineService.serviceRequest(JRedisPipeline Service.java: 96) at org.jredis.ri.alphazero.JRedisSupport.mget(JRedisSupport.java:983) at com.kaboodle.core.cache.impl.JredisCacheServiceImpl.mget(JredisCacheService Impl.java: 133) Caused by: java.util.concurrent.ExecutionException: Provider Exception at org.jredis.ri.alphazero.connection.PendingRequest.checkStatus(PendingReques t.java: 112) at org.jredis.ri.alphazero.connection.PendingRequest.get(PendingRequest.java: 134) at org.jredis.ri.alphazero.connection.PendingRequest.get(PendingRequest.java: 26) at org.jredis.ri.alphazero.connection.SynchPipelineConnection.serviceRequest(S ynchPipelineConnection.java: 80) ... 67 more Caused by: org.jredis.ProviderException: Bug? Expecting status code for size/count at org.jredis.ri.alphazero.protocol.SynchProtocol $SynchMultiLineResponseBase.readControlLine(SynchProtocol.java:410) at org.jredis.ri.alphazero.protocol.SynchProtocol $SynchMultiBulkResponse.read(SynchProtocol.java:544) at org.jredis.ri.alphazero.connection.PipelineConnectionBase $ResponseHandler.run(PipelineConnectionBase.java:230) ... 1 more