[
https://issues.apache.org/jira/browse/IGNITE-22877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17875416#comment-17875416
]
Kirill Tkalenko commented on IGNITE-22877:
------------------------------------------
Looks good.
> Basic in-process IgniteServer restart
> -------------------------------------
>
> Key: IGNITE-22877
> URL: https://issues.apache.org/jira/browse/IGNITE-22877
> Project: Ignite
> Issue Type: Improvement
> Reporter: Roman Puchkovskiy
> Assignee: Roman Puchkovskiy
> Priority: Major
> Labels: ignite-3, inprocess-restart
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
> It should be possible to restart an IgniteServer. Such a restart should stop
> the IgniteImpl instance stored in the IgniteServer, then start another
> IgniteImpl and replace the old instance with the new one after the start
> completes.
> The method should return a future, like this:
> CompletableFuture<Void> restart();
> Ignite instance returned to the user from IgniteServer via api() method
> should be a wrapper delegating to a volatile reference to IgniteImpl (which
> will be swapped when restarting). All sub-objects (to any depth) returned by
> this Ignite wrapper (like IgniteTables) should in turn be wrappers around the
> same volatile reference to IgniteImpl. This will allow the instances obtained
> by the user to remain functional after such an in-process restart.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)