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/04/14 12:34:08 UTC

[GitHub] [incubator-shardingsphere] zjcnb commented on a change in pull request #5167: multiple threads loads unconfigured metadata

zjcnb commented on a change in pull request #5167: multiple threads loads unconfigured metadata
URL: https://github.com/apache/incubator-shardingsphere/pull/5167#discussion_r408099381
 
 

 ##########
 File path: shardingsphere-underlying/shardingsphere-common/src/main/java/org/apache/shardingsphere/underlying/common/metadata/schema/RuleSchemaMetaDataLoader.java
 ##########
 @@ -161,4 +167,32 @@ private TableMetaData decorate(final String tableName, final TableMetaData table
         }
         return result;
     }
+    
+    private Map<String, SchemaMetaData> asyncLoadSchemaMetaDataMap(final Map<String, DataSource> dataSourceMap, final int maxConnectionCount,
 
 Review comment:
   I will use ShardingSpehre's thread pool to transform SchemaMetaDataLoader.asyncLoad() method and RuleSchemaMetaDataLoader.asyncLoadSchemaMetaDataMap() method, How's that

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


With regards,
Apache Git Services