geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Lindsey (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GEODE-7042) Wait until all startup tasks complete to update server status as "online"
Date Thu, 01 Aug 2019 21:04:00 GMT
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)

Mime
View raw message