[
https://issues.apache.org/jira/browse/IGNITE-2680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15357413#comment-15357413
]
Alexei Scherbakov commented on IGNITE-2680:
-------------------------------------------
2 fixed. Added TimeUnit argument to setTimeout
3.Implemented code for running SQL queries using RunnableFuture.
This way the query can be run synchronously on asynchronously with cancellation
and timeout support.
TC is OK, waiting for review.
> 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
(v6.3.4#6332)