[
https://issues.apache.org/jira/browse/IGNITE-1360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladimir Ozerov updated IGNITE-1360:
------------------------------------
Priority: Minor (was: Critical)
> Extend platform processor lifecycle.
> ------------------------------------
>
> Key: IGNITE-1360
> URL: https://issues.apache.org/jira/browse/IGNITE-1360
> Project: Ignite
> Issue Type: Task
> Components: platforms
> Affects Versions: 1.1.4
> Reporter: Vladimir Ozerov
> Priority: Minor
>
> 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)