iotdb-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-iotdb] mdf369 commented on a change in pull request #152: Cluster read
Date Mon, 06 May 2019 07:01:56 GMT
mdf369 commented on a change in pull request #152: Cluster read
URL: https://github.com/apache/incubator-iotdb/pull/152#discussion_r281071717
 
 

 ##########
 File path: cluster/src/main/java/org/apache/iotdb/cluster/service/TSServiceClusterImpl.java
 ##########
 @@ -53,17 +66,50 @@
 
   private static final Logger LOGGER = LoggerFactory.getLogger(TSServiceClusterImpl.class);
 
-  private ThreadLocal<NonQueryExecutor> nonQueryExecutor = new ThreadLocal<>();
-  private ThreadLocal<QueryMetadataExecutor> queryMetadataExecutor = new ThreadLocal<>();
+  private ClusterQueryProcessExecutor queryDataExecutor = new ClusterQueryProcessExecutor();
 
 Review comment:
   Why is `ThreadLocal` removed?

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

Mime
View raw message