You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maksim Timonin (Jira)" <ji...@apache.org> on 2024/02/05 09:41:00 UTC

[jira] [Created] (IGNITE-21445) IndexQuery ignores pageSize if setLocal=true is set

Maksim Timonin created IGNITE-21445:
---------------------------------------

             Summary: IndexQuery ignores pageSize if setLocal=true is set
                 Key: IGNITE-21445
                 URL: https://issues.apache.org/jira/browse/IGNITE-21445
             Project: Ignite
          Issue Type: Bug
            Reporter: Maksim Timonin


In 2.14, see GridCacheQueryManager#runQuery:L1323

If query is local it just collects all possible data.

For ScanQuery this code doesn't work, as it directly uses local scanQueryIterator that returns entry one by one.

Solution:
 # Prepare page for iterating
 # Use the same logic as ScanQuery for local queries.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)