redis.clients.jedis.exceptions.JedisMovedDataException: MOVED

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

redis.clients.jedis.exceptions.JedisMovedDataException: MOVED 4781 132.120.2.81:6379
	at redis.clients.jedis.Protocol.processError(Protocol.java:115)

解决方案: 将连接对象从 Jedis 换成 JedisCluster。就可以了。

  • https://zdran.com/20180518.html
  • https://github.com/xetorthio/jedis/issues/1245

转载于:https://my.oschina.net/u/2464371/blog/2995836

你可能感兴趣的:(redis.clients.jedis.exceptions.JedisMovedDataException: MOVED)