You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Aaron Lindsey (JIRA)" <ji...@apache.org> on 2019/08/01 21:04:00 UTC

[jira] [Created] (GEODE-7042) Wait until all startup tasks complete to update server status as "online"

Aaron Lindsey created GEODE-7042:
------------------------------------

             Summary: 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


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)