[ 
https://issues.apache.org/jira/browse/IGNITE-613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14738662#comment-14738662
 ] 

Denis Magda commented on IGNITE-613:
------------------------------------

Altered the test. The patch is attached.

However the test fails because seems that {{pageSize}} is ignored by SQL engine.

Test does the following.

At the beginning it starts 3 server nodes and 1 client node. Fills a replicated 
cache with 1000 entries.

Right after that the following query is executed from the client node
{noformat}
QueryCursor<Cache.Entry<Integer, Integer>> q =
                cache.query(new SqlQuery<Integer, Integer>(Integer.class, "_key 
>= 0 order by _key").setPageSize(10));
{noformat}

Then the test gets the first key
{noformat}
q.iterator().next().getKey()
{noformat}

However, the iterator loads all 1000 entries ignoring the page size that is 
equal to 10.
{GridMapQueryExecutor.qryRess}} map on servers side is empty meaning that the 
whole data was transferred to the client.

Start discussion regarding the issue on the dev list.

> [Test] IgniteCacheReplicatedQuerySelfTest # testNodeLeft fails
> --------------------------------------------------------------
>
>                 Key: IGNITE-613
>                 URL: https://issues.apache.org/jira/browse/IGNITE-613
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Artem Shutak
>            Assignee: Denis Magda
>              Labels: failedtest
>
> IgniteCacheReplicatedQuerySelfTest #testNodeLeft  test fails by unknown 
> reason (should be unmuted on TC after fix). 
> Test works long and fails after. Should be enabled after fix.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to