[ https://issues.apache.org/jira/browse/IGNITE-15365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maksim Timonin updated IGNITE-15365: ------------------------------------ Description: Currently KILL SCAN just removes query iterator from node, but doesn't send cancel cache query request to every node. It leads wasting memory on nodes and exceptions like: ``` class org.apache.ignite.IgniteCheckedException: Received next page request after iterator was removed. Consider increasing maximum number of stored iterators (see CacheConfiguration.getMaxQueryIteratorsCount() configuration property). ``` see # QueryMXBeanImpl.CancelScan # KillComandsSQLTest#testCancelScanQuery was: Currently KILL SCAN just removes query iterator from node, but doesn't send cancel cache query request to every node. It leads wasting memory on nodes and exceptions like: class org.apache.ignite.IgniteCheckedException: Received next page request after iterator was removed. Consider increasing maximum number of stored iterators (see CacheConfiguration.getMaxQueryIteratorsCount() configuration property). see # QueryMXBeanImpl.CancelScan # KillComandsSQLTest#testCancelScanQuery > "KILL SCAN" doesn't cancel correctly queries on remote node. > ------------------------------------------------------------ > > Key: IGNITE-15365 > URL: https://issues.apache.org/jira/browse/IGNITE-15365 > Project: Ignite > Issue Type: New Feature > Reporter: Maksim Timonin > Priority: Major > > Currently KILL SCAN just removes query iterator from node, but doesn't send > cancel cache query request to every node. It leads wasting memory on nodes > and exceptions like: > ``` > class org.apache.ignite.IgniteCheckedException: Received next page request > after iterator was removed. Consider increasing maximum number of stored > iterators (see CacheConfiguration.getMaxQueryIteratorsCount() configuration > property). > ``` > see > # QueryMXBeanImpl.CancelScan > # KillComandsSQLTest#testCancelScanQuery -- This message was sent by Atlassian Jira (v8.20.10#820010)