Nikolay Izhikov created IGNITE-12736:
----------------------------------------

             Summary: [IEP-35] Compute task system view doesn't return task 
started from remote node
                 Key: IGNITE-12736
                 URL: https://issues.apache.org/jira/browse/IGNITE-12736
             Project: Ignite
          Issue Type: Improvement
            Reporter: Nikolay Izhikov
            Assignee: Nikolay Izhikov
             Fix For: 2.8


Bug reproducer:
{code:java}
    @Test
    public void testComputeBroadcast2() throws Exception {
        try (IgniteEx g0 = startGrid(0); IgniteEx g1 = startClientGrid(1)) {
            SystemView<ComputeTaskView> tasks = 
g0.context().systemView().view(TASKS_VIEW);

            g1.compute().broadcastAsync(() -> {
                try {
                    Thread.sleep(60_000L);
                }
                catch (InterruptedException e) {
                    throw new RuntimeException(e);
                }
            });

            Thread.sleep(1_000L);

            assertEquals(1, tasks.size());
        }
    }

{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to