nizhikov commented on code in PR #11645:
URL: https://github.com/apache/ignite/pull/11645#discussion_r1831571510


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueryManager.java:
##########
@@ -869,36 +852,6 @@ private GridCloseableIterator scanIterator(final 
CacheQuery<?> qry, IgniteClosur
             return iter;
         }
         catch (IgniteCheckedException | RuntimeException e) {
-            if (intFilter != null)

Review Comment:
   scanFilter are not closeable.
   The only reason we have `close` method is to invoke 
   ```
               if (scanFilter instanceof PlatformCacheEntryFilter)
                   ((PlatformCacheEntryFilter)scanFilter).onClose();
   ```
   
   For now, we allocate any resources only, when locPart reserved, already.



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to