[
https://issues.apache.org/jira/browse/ATLAS-614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Madhan Neethiraj resolved ATLAS-614.
------------------------------------
Resolution: Abandoned
> Try to avoid duplication of initialization code in HA mode
> ----------------------------------------------------------
>
> Key: ATLAS-614
> URL: https://issues.apache.org/jira/browse/ATLAS-614
> Project: Atlas
> Issue Type: Bug
> Reporter: Hemanth Yamijala
> Priority: Major
>
> Currently, in ATLAS-511, each service has a block of code that is as follows:
> {code}
> void start() {
> // do stateless stuff
> if(!HAConfiguration.isHAEnabled()) {
> // do stateful stuff
> }
> }
> {code}
> The repeat of this pattern could possibly be avoided by moving this
> initialization in non-HA mode to an aggregator service (like {{Services}}) or
> even as a method in {{GuiceServletConfig}}.
> This was raised as a review comment in ATLAS-511. Filing it here to fix
> separately.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)