Gustavo Fernandes created ISPN-12318:
----------------------------------------
Summary: Query.maxResult() ignored during entity loading
Key: ISPN-12318
URL:
https://issues.redhat.com/browse/ISPN-12318
Project: Infinispan
Issue Type: Bug
Components: Embedded Querying
Affects Versions: 12.0.0.Dev03
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
When a query has a maxResult it should not try to load all results from the cache but
rather restrict it to the requested page size. This causes unnecessary allocations of
Strings and byte[].
Other issue is the default maxResult is not defined consistently: it is 10 for queries
over REST and undefined for embedded and queries over Hot Rod.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)