您好,欢迎来到爱go旅游网。
搜索
您的当前位置:首页redis报错Comnection to xxxx not allowed, This connection point is not known in the clust

redis报错Comnection to xxxx not allowed, This connection point is not known in the clust

来源:爱go旅游网

​​​​​​​

Redis exception; nested exception is io.lettuce.core.RedisException: io.lettuce,core.RedisException:
org.springframework.data.redis.RedisSvstemException:
java.lang.IllegalArgumentException: Comnection to 10.10.79.230:32463 not allowed, This connection point is not known in the cluster view

spring:
  redis:
    lettuce:
      pool:
        # 连接池中的最小空闲连接
        min-idle: 0
        # 连接池中的最大空闲连接
        max-idle: 8
        # 连接池的最大数据库连接数
        max-active: 8
        # #连接池最大阻塞等待时间(使用负值表示没有)
        max-wait: -1ms

修改配置

1.配置自动刷新
spring:
  redis:
    cluster:
      refresh:
        adaptive: true
        period: 30000    # 30秒自动刷新一次
2、关闭“验证集群节点成员资格开关”,关闭方式如下:

spring:
  redis:
    cluster:
      validate-cluster-node-membership: false

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- igat.cn 版权所有 赣ICP备2024042791号-1

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务