ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Sapego <isap...@gridgain.com>
Subject Re: C++; Cancelling Long Query
Date Thu, 18 May 2017 14:38:16 GMT
Hi Tolga,

There is currently no such mechanism in C++. In Java you can set timeout
for query.
Here is the ticket to implement this feature in C++ [1].

[1] - https://issues.apache.org/jira/browse/IGNITE-5258

Best Regards,
Igor

On Thu, May 18, 2017 at 4:05 PM, Tolga HOŞGÖR <fasdfasdas@gmail.com> wrote:

> Hello,
>
> What is the normal way to abort a statistical analysis SQL query that
> takes a long time while quitting the application while using ignite C++
> client?
>
> - Destructing the cache seems to be causing a fault.
> - Destructing the grid looks good enough but throws some exceptions in JVM
> side so it may not be the right way to do it I think.
> - Sending a custom signal does not seem to interrupt the query.
>

Mime
View raw message