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/04/12 12:37:09 UTC

[GitHub] [shardingsphere] sandynz commented on a change in pull request #10006: Query execution process from other proxies for running SQLs by RQL

sandynz commented on a change in pull request #10006:
URL: https://github.com/apache/shardingsphere/pull/10006#discussion_r611589504



##########
File path: shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/context/ProxyContext.java
##########
@@ -73,6 +76,15 @@ public void init(final MetaDataContexts metaDataContexts, final TransactionConte
         this.transactionContexts = transactionContexts;
     }
     
+    /**
+     * Initialize registry repository.
+     *
+     * @param registryRepository registry repository
+     */
+    public void initRegistryRepository(final RegistryRepository registryRepository) {

Review comment:
       It's used in `ShowProcesslistExecutor` to fetch data from register center (get it by `ProxyContext.getInstance().getRegistryRepository()`, I'd like to see your suggestion.




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