java.lang.IllegalArgumentException: Unsupported redis cluster: failsafe. The redis cluster only supported failover or replicate.

GitHub | isaacdong | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    monitor的cluster一定是failsafe的,而且无法修改

    GitHub | 9 months ago | isaacdong
    java.lang.IllegalArgumentException: Unsupported redis cluster: failsafe. The redis cluster only supported failover or replicate.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Unsupported redis cluster: failsafe. The redis cluster only supported failover or replicate.

      at com.alibaba.dubbo.registry.redis.RedisRegistry.<init>()
    2. com.alibaba.dubbo
      DubboMonitorFactroy.createMonitor
      1. com.alibaba.dubbo.registry.redis.RedisRegistry.<init>(RedisRegistry.java:93)
      2. com.alibaba.dubbo.registry.redis.RedisRegistryFactory.getRegistry(RedisRegistryFactory.java:30)
      3. com.alibaba.dubbo.registry.RegistryFactory$Adpative.getRegistry(RegistryFactory$Adpative.java)
      4. com.alibaba.dubbo.registry.integration.RegistryProtocol.refer(RegistryProtocol.java:240)
      5. com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:60)
      6. com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:63)
      7. com.alibaba.dubbo.rpc.Protocol$Adpative.refer(Protocol$Adpative.java)
      8. com.alibaba.dubbo.monitor.dubbo.DubboMonitorFactroy.createMonitor(DubboMonitorFactroy.java:60)
      8 frames