Aleksey Plekhanov created IGNITE-17243:
------------------------------------------

             Summary: Durable background task is not started when BLT node 
joined cluster after activation
                 Key: IGNITE-17243
                 URL: https://issues.apache.org/jira/browse/IGNITE-17243
             Project: Ignite
          Issue Type: Bug
            Reporter: Aleksey Plekhanov
            Assignee: Aleksey Plekhanov


When BLT node joined to the active cluster, variable 
{{DurableBackgroundTasksProcessor#prohibitionExecTasks}} is not cleared 
correctly and durable background tasks are not started on this node. 
Reproducer:
{code:java}
public void testNodeJoinAfterActivation() throws Exception {
    IgniteEx n = startGrid(0);
    startGrid(1);
    n.cluster().state(ACTIVE);
    stopGrid(1);
    n = startGrid(1);
    SimpleTask t = new SimpleTask("t");
    n.context().durableBackgroundTask().executeAsync(t, true);
    assertEquals(STARTED, tasks(n).get(t.name()).state());
}
 {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to