You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Aleksey Plekhanov (Jira)" <ji...@apache.org> on 2022/06/27 14:00:00 UTC

[jira] [Created] (IGNITE-17243) Durable background task is not started when BLT node joined cluster after activation

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)