ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Scherbakov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-2680) Terminating running SQL queries
Date Wed, 01 Jun 2016 19:39:59 GMT

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

Alexei Scherbakov commented on IGNITE-2680:

Added 3 tests for the first use case:
1) Query is cancelled during execution phase ( resultset is not ready yet )
2) Query is cancelled after completion
3) Query is cancelled while fetching pages to initiator node.

Working branch: https://github.com/ascherbakoff/ignite/tree/ignite-2680

> Terminating running SQL queries
> -------------------------------
>                 Key: IGNITE-2680
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2680
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 1.5.0.final
>            Reporter: Denis Magda
>            Assignee: Alexei Scherbakov
>              Labels: important
> If to start a long running SQL query over a huge cache will millions of entries there
should be a way terminate it. Even if {{QueryCursor}} is closed the query won't be cancelled
consuming available resources.
> There should be a way to close a query having using an object that is related to it.
Seems that ideally we can use {{QueryCursor.close()}} method for that;

This message was sent by Atlassian JIRA

View raw message