Re: Ignite.NET how to cancel tasks

2018-08-12 Thread Maksym Ieremenko
Hello Slava, please try an modified version of https://github.com/apache/ignite/blob/master/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Compute/CancellationTest.cs,

RE: Ignite.NET how to cancel tasks

2018-08-07 Thread Maksym Ieremenko
Hi Slava, >> > using (var ignite = Ignition.Start()) >> Is it possible that Ignite node was closed before the cancellation request >> was processed by an instance of SimpleJob? Could you please check that fact? No. I double cheeked: the main thread hangs on cts.Cancel(); //

RE: Ignite.NET how to cancel tasks

2018-08-05 Thread Maksym Ieremenko
Hello Slava, Unfortunately demo does not work for me: IComputeJob.Cancel is never called. In my case an execution of job may take few minutes and I want to receive an notification about cancellation. Please check the following code, SimpleJob will never finish, because IComputeJob.Cancel is

Ignite.NET how to cancel tasks

2018-08-02 Thread Maksym Ieremenko
Hi, How I cancel running tasks on the grid with Ignite.NET?

Ignite.NET tasks cancellation

2018-07-30 Thread Maksym Ieremenko
Hello all, Ignite.NET, nuget package 2.6.0, .NETFramework 4.7.2 I am quite a novice with Apache Ignite. I am looking for solution to cancel running tasks on Ignite cluster. Based on examples I tried following code: public class HangingDemo { public IIgnite Ignite { get; }