If the cache contains more records than requested, then skip the unnecessary.
For example, there are 100 entries in the cache and our request requires 10 entries. In the final collection will be placed 100 entries from the cache, 10 entries from the apache server (the most likely will be overwrite of the cache entries), the collection will be placed in the cache (~ 100-103 records) and will be returned. But we only need 10 records, so 90 entries will be skipped. [ Full content available at: https://github.com/apache/ignite-teamcity-bot/pull/3 ] This message was relayed via gitbox.apache.org for [email protected]
