You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/12/30 12:21:03 UTC
[GitHub] [shardingsphere] sandynz commented on issue #11054: What are the specific functions of proxy cluster management and what to pay attention to?
sandynz commented on issue #11054:
URL: https://github.com/apache/shardingsphere/issues/11054#issuecomment-1003005771
Hi @git-chenhao , when scaling job get done successfully, ShardingSphere will switch metadata (include `dataSources` and `rules`), and connection pool will be refreshed.
You could referto [ScalingRegistrySubscriber.clusterSwitchConfiguration]( https://github.com/apache/shardingsphere/blob/73846fd843cf695285b7951560825786a72d70f2/shardingsphere-mode/shardingsphere-mode-type/shardingsphere-cluster-mode/shardingsphere-cluster-mode-core/src/main/java/org/apache/shardingsphere/mode/manager/cluster/coordinator/registry/cache/subscriber/ScalingRegistrySubscriber.java#L109 ) and [ContextManager.alterDataSourceConfiguration]( https://github.com/apache/shardingsphere/blob/6b7aa50f27a0e3d10a91ef7f2c0d0ac532aee566/shardingsphere-mode/shardingsphere-mode-core/src/main/java/org/apache/shardingsphere/mode/manager/ContextManager.java#L212 ) for more details.
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org