When the Redis process freezes, spring-data-redis cannot obtain the latest sentinel selected master node unless the program is restarted。
The configuration is as follows
spring:
cache:
type: redis
data:
redis:
password: xxx
sentinel:
master: xx
password: xxxxx
nodes:
- xx.xx.xx.xx:xx
- xx.xx.xx.xx:xx
- xx.xx.xx.xx:xx
lettuce:
pool:
max-active: 250
min-idle: 10
max-idle: 50
