All Products
Search
Document Center

Tair (Redis® OSS-Compatible):Notice on Jedis update

Last Updated:Nov 04, 2024

Jedis is a popular Java client that is used to connect to Redis databases. Recently, the Jedis community has made a major bug fix and an optimization for the client. We recommend that you update your Jedis client.

Bug fix and optimization

Jedis 3.10.0 comes with the following bug fix and optimization:

  • Bug fix: When you access a Tair instance by using its domain name in JedisCluster mode, Jedis can now connect to the instance even if the Domain Name System (DNS) mapping changes. For more information, see Renew cluster slots strategy update.

  • Optimization: When Jedis is disconnected from an instance, Jedis no longer sends the QUIT command. This prevents a spike in the number of connections for the instance. For more information, see Avoid using QUIT command.

Version recommendations

  • If you use Jedis 4.x.x or 5.x.x, update the client to the latest version of Jedis.

  • If you use Jedis 2.x.x or 3.x.x, update the client to Jedis 3.10.0 or later.

References