Redis集群错误:org.springframework.data.redis.TooManyClusterRedirectionsException
1.Spring-data-redis操作redis cluster如果不设置maxRedirects值,源码中默认为5。一般当此值设置过大时,容易报:Too many Cluster redirections<property name="maxRedirects" value="5" />如果不设置clusterTimeOut值,源码中默认为2S。当集群服务器与客户端不在同一服务器上时,容易报:Could not get a resource from the...
原创
2020-07-03 02:07:34 ·
4751 阅读 ·
0 评论