[jboss-jira] [JBoss JIRA] (WFCORE-1881) Add isCandidateDomainController() to LocalHostControllerInfo and use it where possible

Ken Wills (JIRA) issues at jboss.org
Mon Nov 21 19:00:00 EST 2016


    [ https://issues.jboss.org/browse/WFCORE-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13325996#comment-13325996 ] 

Ken Wills commented on WFCORE-1881:
-----------------------------------

Note, this is in progress here: https://github.com/bstansberry/wildfly-core/tree/WFCORE-338

> Add isCandidateDomainController() to LocalHostControllerInfo and use it where possible
> --------------------------------------------------------------------------------------
>
>                 Key: WFCORE-1881
>                 URL: https://issues.jboss.org/browse/WFCORE-1881
>             Project: WildFly Core
>          Issue Type: Task
>          Components: Domain Management
>            Reporter: Brian Stansberry
>            Assignee: Ken Wills
>
> The WFCORE-338 work is going to add the notion of an HC being configured as a Candidate Domain Controller, which is a separate thing from being "master". There are a number of places where LocalHostControllerInfo.isMaster() is being called to make decisions that with WFCORE-338 should really depend on whether the HC is a CDC, not whether it is master. So, we want LHCI to expose whether the HC is a CDC.
> I think initially we can have isCandidateDomainController() just return the result of isMaster(). We can add a setter to LocalHostControllerInfoImpl later when we actually make the CDC status independently configurable.
> Places that should be updated as part of this task to use isCandidateDomainController() instead of isMaster():
> 1) ProfileCloneHandler
> 2) IgnoredDomainResourceRegistry



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list