jedis
jedis copied to clipboard
Redis Java client
### Expected behavior calling `mget()` https://github.com/redis/jedis/blob/ef8d545be59b350f5e543726cf921aa46bcf2ad9/src/main/java/redis/clients/jedis/Jedis.java#L809 with 0 argument should just work ### Actual behavior it fails with error: ``` redis.clients.jedis.exceptions.JedisDataException: ERR wrong number of arguments for 'mget' command at...
I have actually been thinking that manually keeping up with the commands may too difficult. Alot of this code could actually be generated given a good definition of the command...
My log is full of NullPointerException ### Expected behavior No NullPointerException ### Actual behavior ``` INFO | jvm 1 | main | 2020/07/10 16:47:59.218 | INFO | jvm 1 |...
Hi all my logs full of these: get technicians availability for weeks for 1024 technicians java.lang.NullPointerException at redis.clients.jedis.BinaryJedis.getDB(BinaryJedis.java:3318) at redis.clients.jedis.JedisFactory.activateObject(JedisFactory.java:87) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:453) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:349) at redis.clients.jedis.util.Pool.getResource(Pool.java:50) at redis.clients.jedis.JedisPool.getResource(JedisPool.java:234) at com.puls.availability.services.AvailabilityServiceImpl.getTechnicianAvailabilityWeeks(AvailabilityServiceImpl.java:316)...
Some DataSource, for example HikariCP, they provide metrics and can be watched well. Is there any way to acheive this goal in Jedis?
### Expected behavior Write here what you're expecting We are not expecting this exception ### Actual behavior Write here what happens instead We are getting below exception trace "redis.clients.jedis.exceptions.JedisConnectionException: Attempting...
Added pipelining support to JedisCluster, making least changes on other classes. The idea is capturing all commands sent with pipeline, and replaying them for cluster redirecting.
### Expected behavior There should be a easy to check if the cluster is initialized properly. I.e. if there is a pool initialized for each hash slot. For example, if...
My springboot application is running fine for hours. but time to time , I see connection lost exception to sentinel. There is no network issue. ### Expected behavior Write here...
### Description the pipeline has the same client with the jedis which get from jedis pool, if the jedis return to the pool, but the pipeline is still working, then...