[
https://issues.apache.org/jira/browse/GEODE-7042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aaron Lindsey resolved GEODE-7042.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.11.0
> Wait until all startup tasks complete to update server status as "online"
> -------------------------------------------------------------------------
>
> Key: GEODE-7042
> URL: https://issues.apache.org/jira/browse/GEODE-7042
> Project: Geode
> Issue Type: Improvement
> Reporter: Aaron Lindsey
> Assignee: Aaron Lindsey
> Priority: Major
> Labels: observability
> Fix For: 1.11.0
>
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> Currently, the server status is set to "online" before all of the startup
> tasks have completed. This tells users incorrect facts about the system and
> its availability.
> *Scenario:*
> Given a server has just been started
> When the following threads have completed:
> [Async] [Optional] Begin redundancy recovery
> [Async] [Optional] Begin recovery of values from disk
> And when the synchronous thread of .start() for the ServerLauncher that
> started the server completes without exception
> Then the 'status' bit of the ServerLauncher should be set to 'online'
> (currently this is set to online regardless of Async processes)
> *Notes:*
> GFSH utilizes this 'online' status to return from the 'start server' command.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)