You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/08/07 18:07:00 UTC
[jira] [Commented] (GEODE-7042) Wait until all startup tasks
complete to update server status as "online"
[ https://issues.apache.org/jira/browse/GEODE-7042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16902377#comment-16902377 ]
ASF subversion and git services commented on GEODE-7042:
--------------------------------------------------------
Commit d9a9e30275ae21e33212a48ca72762bacdf37d67 in geode's branch refs/heads/develop from Kirk Lund
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=d9a9e30 ]
Merge pull request #3878 from aaronlindsey/server-online-uses-startup-tasks
GEODE-7042: Wait until all startup tasks complete to update server status as "online"
> 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
> Time Spent: 1h 20m
> 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)