llzx373 opened a new issue #13066: URL: https://github.com/apache/shardingsphere/issues/13066
## Bug Report ### Which version of ShardingSphere did you use? last 5.0 RC version ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy? ShardingSphere-Proxy ### Expected behavior MGR High Avaliable Discovery config auto task primaryDatasource parameter change with current real primary,do not send primary change event every check,should only in the time primary change。 ### Actual behavior primaryDatasource parameter not change with current real primary, send primary change event every check ### Reason analyze (If you can) primaryDatasource init when task init,but not change when metachange in metadata(Zookeeper)。 ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc. configure HA using Discovery ,with debug mode,seen the primary change events 。 ### Example codes for reproduce this issue (such as a github link). -- 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]
