little-emotion commented on a change in pull request #123: provide unified query resource control interface URL: https://github.com/apache/incubator-iotdb/pull/123#discussion_r271241580
########## File path: iotdb/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java ########## @@ -104,6 +104,7 @@ private ThreadLocal<HashMap<String, QueryDataSet>> queryRet = new ThreadLocal<>(); private ThreadLocal<ZoneId> zoneIds = new ThreadLocal<>(); private IoTDBConfig config = IoTDBDescriptor.getInstance().getConfig(); + private QueryContext context; Review comment: Why querycontext is not ThreadLocal like other member variables in this class? ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services