timoninmaxim commented on code in PR #11342:
URL: https://github.com/apache/ignite/pull/11342#discussion_r1598833721
##########
modules/core/src/main/java/org/apache/ignite/internal/cache/query/index/IndexQueryProcessor.java:
##########
@@ -125,6 +131,38 @@ public <K, V> IndexQueryResult<K, V> queryLocal(
IgniteBiTuple<K, V> row = currVal;
+ if (cctx.events().isRecordable(EVT_CACHE_QUERY_OBJECT_READ) &&
+
cctx.gridEvents().hasListener(EVT_CACHE_QUERY_OBJECT_READ)) {
Review Comment:
Actually, there is no need in checking listeners. In some places this is
checked, in some - not. Let's skip this check.
--
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]