You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2015/09/02 15:27:45 UTC

[jira] [Created] (IGNITE-1360) Extend platform processor lifecycle.

Vladimir Ozerov created IGNITE-1360:
---------------------------------------

             Summary: Extend platform processor lifecycle.
                 Key: IGNITE-1360
                 URL: https://issues.apache.org/jira/browse/IGNITE-1360
             Project: Ignite
          Issue Type: Sub-task
          Components: interop
    Affects Versions: 1.1.4
            Reporter: Vladimir Ozerov
            Priority: Critical
             Fix For: ignite-1.5


Currently platform processor lifecycle is the same as for all other processors wiht 4 callbacks: onStart, onKernalStart, onKernalStop, onStop.

This appears to be not enough for platforms. IN particular, it doesn't let us flush all write-behind store data correctly and doesn't allow for normal AFTER_NODE_STOP lifecycle callback.
Also it makes platfomr initialization more painful because some callbacks might reach the platform when it is not initialized yet.

To mitigate this problem we should extend platform processor with two more callbacks: "onBeforeStart" and "onAfterStop". Careful management of these callbacks will let us get rid of all aforementioned problems.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)