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

Andrey Gura commented on IGNITE-1127:
-------------------------------------

Execution metrics increases only if query execution is finished (all data are 
fetched). In order to fix this problem we need move metrics update logic from 
{{GridCacheQueryFutureAdapter.onDone}} to the {{GridCacheQueryAdapter}} and 
increment counter when future creates. But it breaks counting of failed queries 
and execution timings.

So I suggest to change {{GridCacheDistributedQueryFuture.onCancelled}} method 
in order to update metrics if future was cancelled.

> Query with result size more then one page doesn't increase Query executions 
> count metric 
> -----------------------------------------------------------------------------------------
>
>                 Key: IGNITE-1127
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1127
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: sprint-7
>            Reporter: Pavel Konstantinov
>            Assignee: Andrey Gura
>             Fix For: ignite-1.4
>
>
> Queries for partitioned caches and limited page size doesn't increase 
> executions count metric in case if not all records was actually fetched by 
> client code.



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

Reply via email to