SzyWilliam commented on code in PR #11561:
URL: https://github.com/apache/iotdb/pull/11561#discussion_r1398105225


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/schedule/DriverScheduler.java:
##########
@@ -105,6 +108,7 @@ private DriverScheduler() {
         new L1PriorityQueue<>(
             QUERY_MAX_CAPACITY, new DriverTask.TimeoutComparator(), new 
DriverTask());
     this.queryMap = new ConcurrentHashMap<>();
+    this.queryIdToDriverTaskHandleMap = new ConcurrentHashMap<>();

Review Comment:
   Why not initializing when declaring?



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to