vrajat commented on code in PR #16445:
URL: https://github.com/apache/pinot/pull/16445#discussion_r2251748311


##########
pinot-core/src/main/java/org/apache/pinot/core/accounting/PerQueryCPUMemAccountantFactory.java:
##########
@@ -134,6 +134,8 @@ public static class PerQueryCPUMemResourceUsageAccountant 
implements ThreadResou
 
     protected Set<String> _cancelSentQueries;
 
+    protected AtomicReference<AggregatedStats> _maxHeapUsageQuery = new 
AtomicReference<>(null);

Review Comment:
   I've added a javadoc to explain what the the variable stores as well as who 
writes and reads it.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to