最近开发环境使用redisson(版本是2.8.0),在部署一段时间(半个小时左右),获取分布式锁会报超时异常(org.redisson.client.RedisTimeoutException: Redis server response timeout (3000 ms) occured for command):
2018-06-28 15:01:55.919 [http-nio-8081-exec-6] ERROR [com.skylink.fincredit.controller.JoinThirdController.getLock(JoinThirdController.java:169)] exception .....
org.redisson.client.RedisTimeoutException: Redis server response timeout (3000 ms) occured for command: (EVAL) with params: [if (redis.call('exists', KEYS[1]) == 0) then redis.call('hset', KEYS[1], ARGV[2], 1); redis.call('pe..., 1, sl.redis.locker.finance_acc_customer11000018_3333333333, 60000, 5b4c46fd-d283-49f0-bf98-d7f160df863e:37] channel: [id: 0xf02a572d, L:/192.168.15.126:54288 - R:/192.168.20.66:7301]
at org.redisson.command.CommandAsyncService$11.run(CommandAsyncService.java:704) ~[redisson-3.6.5.jar:?]
at io.netty.util.HashedWheelTimer$Hashe