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 2020/06/16 07:35:31 UTC

[GitHub] [shardingsphere] menghaoranss commented on a change in pull request #6062: Dynamically update configurations of cluster

menghaoranss commented on a change in pull request #6062:
URL: https://github.com/apache/shardingsphere/pull/6062#discussion_r440645138



##########
File path: shardingsphere-control-panel/shardingsphere-cluster/shardingsphere-cluster-facade/src/main/java/org/apache/shardingsphere/cluster/facade/ClusterFacade.java
##########
@@ -76,6 +80,21 @@ public void detectHeartbeat(final Map<String, SchemaContext> schemaContexts) {
         reportHeartbeat(heartbeatResponse);
     }
     
+    /**
+     * ReInit cluster facade.
+     *
+     * @param event cluster configuration changed event
+     */
+    @Subscribe
+    public void reInit(final ClusterConfigurationChangedEvent event) {

Review comment:
       renamed to renew.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org