Quantcast
Channel: Active questions tagged redis+java - Stack Overflow
Viewing all articles
Browse latest Browse all 2204

jedis: Unexpected end of stream exception

$
0
0

Been getting random "unexpected end of stream" exceptions.this exception occur to a redis command:scan.but this exception doesn't always happen.

at redis.clients.util.RedisInputStream.ensureFill(RedisInputStream.java:199)~[jedis-2.9.3.jar:?]....at redis.clients.jedis.jedis.scan(jedis.java:3259)~[jedis-2.9.3.jar:?]

1.in the configuration,the testOnBorrow is false2.Before calling scan, there is a time-consuming delete operation in Redis

but i'm not sure what happend on this exception


Viewing all articles
Browse latest Browse all 2204

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>