GitHub user snoopdave opened a pull request:

    https://github.com/apache/usergrid/pull/524

    Retries on Management App init, plus caching

    First stab at improving the startup process so that, if we are unable to 
lookup or create the management app we fail fast and if we are able to, then we 
cache the value for later times when we may temporarily unable to look it up.
    
    - Attempt to get or create management app in CpEntityManagerFactory 
constructor
       - With configurable retries
       - Throw RuntimeException retry count exceeded
       - Cache Management App
    
    - CpEntityManager uses that new cache to get management app
    
    https://issues.apache.org/jira/browse/USERGRID-1283


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/snoopdave/usergrid usegrid-1283-mgmt-app-init

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/usergrid/pull/524.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #524
    
----
commit e0c0c875271cda47f9baf9072f029a92921fd1be
Author: Dave Johnson <[email protected]>
Date:   2016-05-16T20:10:07Z

    Move the initial get of management app to the CpEntityManagerFactory with 
retries, and caching for the management app itself.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to