[jboss-jira] [JBoss JIRA] (WFCORE-1049) ConcreteResourceRegistration#registerSubModel is not thread safe
Brian Stansberry (JIRA)
issues at jboss.org
Mon Oct 12 09:09:01 EDT 2015
[ https://issues.jboss.org/browse/WFCORE-1049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117388#comment-13117388 ]
Brian Stansberry commented on WFCORE-1049:
------------------------------------------
Per our chat in the hallway, I think the issue is more that the MRR is registered (and is thus visible to other threads) before the rest of the initialization work is completed. Stuff like registerAttributes, registerOperations, registerChildren.
> ConcreteResourceRegistration#registerSubModel is not thread safe
> ----------------------------------------------------------------
>
> Key: WFCORE-1049
> URL: https://issues.jboss.org/browse/WFCORE-1049
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Reporter: Stuart Douglas
> Assignee: Brian Stansberry
>
> registerSubModel checks for existing, then registers, however it is invoked by two threads at the same time it is possible they will both see the resource as not existing and both register.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list