Fanzhshuai opened a new issue, #22089:
URL: https://github.com/apache/shardingsphere/issues/22089

   shadring 版本: 5.2.1
   数据库配置: 一主两从
   
   高可用读写分离rules相关配置:
    rules:
           readwrite-splitting:
             data-sources: 
               replica_ds:
                 dynamic-strategy:
                   auto-aware-data-source-name: readwrite_ds
                   write-data-source-query-enabled: true
           database-discovery:
             data-sources:
               readwrite_ds:
                 data-source-names: ds1,ds2,ds3
                 discovery-heartbeat-name: mgr-heartbeat
                 discovery-type-name: mgr
             discovery-heartbeats:
               mgr-heartbeat:
                 props: 
                   keep-alive-cron: '0/5 * * * * ?'
             discovery-types:
               mgr:
                 type: MySQL.NORMAL_REPLICATION
                 props: 
                   delay-milliseconds-threshold: 1000
   
   问题一: 一台mysql从库停止服务, 读请求的流量并不能切换到另外一台 可用的mysql从服务器上
   
   问题二: 两台mysql从库都停止服务,读请求的流量不能切换到可用的mysql主服务器上
   
   希望哪位大佬可以帮忙解答一下, 感谢


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to