[jboss-jira] [JBoss JIRA] (WFCORE-1806) Split DomainModelControllerService into separate services for initializing as a master versus as a slave

Brian Stansberry (JIRA) issues at jboss.org
Sat Sep 17 14:30:00 EDT 2016


Brian Stansberry created WFCORE-1806:
----------------------------------------

             Summary: Split DomainModelControllerService into separate services for initializing as a master versus as a slave
                 Key: WFCORE-1806
                 URL: https://issues.jboss.org/browse/WFCORE-1806
             Project: WildFly Core
          Issue Type: Task
          Components: Domain Management
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
             Fix For: 3.0.0.Beta1


This is an aspect of WFCORE-338, although it's valid in its own right as a conceptually cleaner approach to host controller boot.

Using different services is a prerequisite to WFCORE-338 as it allows those elements of HC behavior to be started/stopped as a DC candidate is elected or unelected. It also makes it feasible to wire in the service that performs the election.

The method that installs the service with MSC will return a Future<Boolean>, with the service setting the future's value at the completion of start(). DMCS during boot can block reading the future, from that confirm that the service completed successfully, and then proceed with the rest of boot. The boolean is basically an ok/not ok signal.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list